NextJS starter template for real-world app development (TypeScript, Tailwind, Tanstack-Query, next-better-api, etc)
Git hook to automagically render .PSD files to images, allowing you to visually diff changes.
This PR extracts printVar
out into the options, respecting the current implementation as the default, but allowing the caller to specify custom logic if necessary.
I needed this change to handle printing out variables in a diff. It was extensive enough for my needs, though I'm not 100% sure I covered every scenario where it would be useful. Hopefully you'll find it useful too.
Thanks in advance for taking a look!