A tiny dedent utility for JavaScript template literals.
Preserves newlines, handles interpolations, and avoids the usual formatting bugs. Zero dependencies + works in Node, Deno, and Bun.
32 karma · joined May 26, 2021
And let me tell you, working on this project was an absolute blast. I couldn't have done it without the talented designers and developers on my team at Vercel. We powered through the tough parts and the end result is just fantastic.