Got annoyed by weird indentation issues with multiline strings, so I made `
@okikioOkiki Ojo/undent`, a tiny dedent utility for template literals.
Strips leading spaces from multiline strings fixing the formatting...it's designed to be versatile and flexible.
`
@okikioOkiki Ojo/undent` preserves newlines, handles interpolations, and avoids the usual formatting bugs. Zero dependencies + works in Node, Deno, and Bun.
github: https://github.com/okikio/undent
npm: https://npmjs.com/@okikio/undent
jsr: https://jsr.io/@okikio/undent
/1



