sindresorhus / indent-stringLinks
Indent each line in a string
☆113Updated 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:
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Toggle the CLI cursor☆110Updated last year
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Check if your package was installed globally☆70Updated last year
- Create a lazily evaluated value☆70Updated 4 years ago
- Create a hash for file revving☆105Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Check if a value is a plain object☆102Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Copy a file☆121Updated last year
- Check if argv has a specific flag☆95Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Make a function mimic another one☆95Updated 9 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 5 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Convert a value to an array☆129Updated 3 years ago