3 ms·
Show HN: undent - fix indentation issues in multiline strings in js
- okikio 8mo agoA 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 https://jsr.io/@okikio/undent