undent removes extra leading spaces from template literals and multi‑line strings.
-
Updated
Feb 22, 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.
Add a description, image, and links to the outdent topic page so that developers can more easily learn about it.
To associate your repository with the outdent topic, visit your repo's landing page and select "manage topics."