1 comment

[ 25.1 ms ] story [ 251 ms ] thread
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.

https://jsr.io/@okikio/undent