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:
- Truncate a string to a specific width in the terminal☆88Updated 3 months ago
- Check if a value is a plain object☆104Updated last year
- Ensures a value is a valid error by making it one if not☆86Updated 4 months ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Updated 4 months ago
- Create a hash for file revving☆108Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last week
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Lazy number range generator☆83Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated last week
- Wordwrap a string with ANSI escape codes☆131Updated 5 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Toggle the CLI cursor☆113Updated last year
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Strip leading whitespace from each line in a string☆145Updated 3 months ago
- Filter object keys and values into a new object☆105Updated last year
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Updated last week
- Conditional promise chains☆63Updated 4 years ago
- Tests whether one path is inside another path☆43Updated 5 years ago
- Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.☆53Updated 6 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago