Search results
93 packages found
Get the shortest leading whitespace from lines in a string
Strip leading whitespace from each line in a string
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
remark-lint rule to warn when block quotes are either indented too much or too little
Detect the indentation of code
Strip redundant indentation and indent the string
Microlibrary for unindenting multiline strings.
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
Edit package.json without parsing, as string, to keep the formatting intact
Parse blocks of text based on indentation.
Block tune for Editor.js
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
a lightweight JavaScript library designed to simplify the process of managing text paragraphs within a canvas environment. It provides a comprehensive set of tools for aligning, indenting, and spacing text paragraphs, enabling developers to create visuall
- canvas
- text
- paragraphs
- javascript
- library
- alignment
- indentation
- spacing
- text-layout
- web-development
- frontend
- drawing
- graphics
Create vanilla HTML elements/tags with structured indents.
Debug with ease any nested objects, arrays, etc. JSON.stringify wrapper to display nested objects with indentation & color for quick debugging.
Remove indentation from multiline strings
Trim the initial indentation from a string
Use tab to indent in textareas (tab got automatically replaced by spaces). Escape to unfocus or move to the next sibling.