sindresorhus / indent-stringLinks
Indent each line in a string
☆114Updated 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
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Get the path of the caller module☆67Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if your package was installed globally☆70Updated 2 years ago
- Lazy number range generator☆82Updated last year
- Toggle the CLI cursor☆113Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆84Updated 3 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years 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 3 months ago
- Tests whether one path is inside another path☆43Updated 5 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Create a hash for file revving☆107Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Import a globally installed module☆58Updated last year
- Strip leading whitespace from each line in a string☆144Updated 2 months ago
- Check if something is a promise☆46Updated 4 years ago
- Hook and modify stdout and stderr☆56Updated 3 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 9 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago