Search results
91 packages found
TypeScript package which smartly trims and strips indentation from multi-line strings
- dedent
- deindent
- indentation
- multi-line string
- multiline strings
- template literals
- template strings
- ts
- typescript
- es6
- harmony
Strip leading whitespace from each line in a string
Get the shortest leading whitespace from lines in a string
Detect the indentation of code
Converts tabs to approproate number of spaces
Strip redundant indentation and indent the string
remark-lint rule to warn when block quotes are either indented too much or too little
A Grunt task for checking spaces in files
- lintspaces
- gruntplugin
- validation
- lint
- spaces
- trailingspaces
- indent
- indentation
- newlines
- eof
- eol
- editorconfig
- .editorconfig
Simple indentation tool, supports relative indent
Guess the indentation of a JSON string
- algorithm
- detection
- heuristic-algorithm
- heuristics
- indent
- indentation
- javascript
- json
- length
- library
- newline
- nodejs
- parsing
- serialization
- View more
Utility to detect the indentation used in a string
- browser
- deno
- deno-edition
- deno-entry
- denoland
- detect
- es2022
- es5
- export-default
- indentation
- module
- node
- spaces
- tabs
- View more
Utility to remove indentation from a string
- browser
- deno
- deno-edition
- deno-entry
- denoland
- detect
- es2022
- es5
- export-default
- indentation
- module
- node
- remove
- spaces
- View more
Fast minimalistic pure indentation of JavaScript, CSS, and HTML.
Minify and prettify your JSONs
Library for checking spaces in files
Check indentation matches specified rules
Edit package.json without parsing, as string, to keep the formatting intact
Takes javascript objects in any notation and converts them to proper JSON with indentation.