trim-indentation v4.15.0-next.1698929570.80a07eff5d07bec9093e2743550c26519657ea3e
Trim the initial indentation from a string
- Use trim-indentation to trim the initial indentation, useful for preparation for the other two
- Use detect-indentation to accurately detect the indentation that is used
- Use remove-indentation to accurately remove iterations of indentation
Usage
npm
Deno
import pkg from 'https://unpkg.com/trim-indentation@^4.15.0/edition-deno/index.ts'Skypack
<script type="module">
import pkg from '//cdn.skypack.dev/trim-indentation@^4.15.0'
</script>unpkg
<script type="module">
import pkg from '//unpkg.com/trim-indentation@^4.15.0'
</script>jspm
<script type="module">
import pkg from '//dev.jspm.io/trim-indentation@4.15.0'
</script>Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago