sindresorhus / indent-stringLinks
Indent each line in a string
☆115Updated 3 years ago
Alternatives and similar repositories for indent-string
Users that are interested in indent-string are comparing it to the libraries listed below
Sorting:
- Check if a value is a plain object☆103Updated last year
- Ensures a value is a valid error by making it one if not☆85Updated 4 months ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Strip leading whitespace from each line in a string☆144Updated 3 months ago
- Lazy number range generator☆83Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Create a hash for file revving☆107Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Conditional promise chains☆63Updated 4 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆161Updated 3 months ago
- Copy a file☆122Updated 5 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago