News
Newest
Ask
Show
Jobs
Open on GitHub
Show HN: undent - fix indentation issues in multiline strings in js
(github.com)
2 points | by
okikio
4 hours ago
1 comments
okikio
4 hours ago
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
https://jsr.io/@okikio/undent