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:
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Check if a value is a plain object☆104Updated last year
- Get the path of the caller module☆67Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Updated 3 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆86Updated 4 months ago
- Check if a path is a file, directory, or symlink☆80Updated last week
- Strip leading whitespace from each line in a string☆145Updated 3 months ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Create a hash for file revving☆108Updated 2 years ago
- Lazy number range generator☆83Updated 2 years ago
- Convert a value to an array☆133Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆131Updated 5 months ago
- Copy a file☆123Updated 5 months ago
- Get the directory of globally installed packages and binaries☆77Updated last week
- Check if argv has a specific flag☆96Updated 4 years ago
- Tests whether one path is inside another path☆43Updated 5 years ago
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Get the path of the parent module☆79Updated 4 months ago
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Toggle the CLI cursor☆113Updated last year
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Updated 4 months ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago