undent removes extra leading spaces from template literals and multi‑line strings.
-
Updated
May 24, 2026 - TypeScript
undent removes extra leading spaces from template literals and multi‑line strings.
A Tiny module for stripping indentation from multi-line strings. 150 bytes (min & gzipped)
Remove extra indentation from multiline strings.
To associate your repository with the outdent topic, visit your repo's landing page and select "manage topics."