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:
- Create a lazily evaluated value☆69Updated 4 years ago
- Lazy number range generator☆82Updated last year
- Check if a value is a plain object☆103Updated last year
- Get the path of the caller module☆66Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last month
- Strip leading whitespace from each line in a string☆144Updated last month
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Check if your package was installed globally☆70Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆83Updated 2 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Filter object keys and values into a new object☆105Updated last year
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Copy a file☆122Updated 3 months ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Make a function mimic another one☆97Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆186Updated 2 years ago
- Resolve the path of a package regardless of it having an entry point☆55Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Get the path of the parent module☆79Updated 2 months ago
- Run promise-returning & async functions repeatedly until you end it☆48Updated 4 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- A better `Promise.race()`☆51Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago