We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dedent: Given a multi-line string indented with whitespace on every line, remove common indentation from each line.
Useful for tagged template literals.
See https://github.com/tc39/proposal-string-dedent for more context and prior art in other languages.
An MIT-licensed implementation in TypeScript exists at https://github.com/jridgewell/string-dedent
The text was updated successfully, but these errors were encountered:
This would definitely be helpful to add in our string utilities :)
Sorry, something went wrong.
No branches or pull requests
dedent: Given a multi-line string indented with whitespace on every line, remove common indentation from each line.
Useful for tagged template literals.
See https://github.com/tc39/proposal-string-dedent for more context and prior art in other languages.
An MIT-licensed implementation in TypeScript exists at https://github.com/jridgewell/string-dedent
The text was updated successfully, but these errors were encountered: