sindresorhus / indent-string
Indent each line in a string
☆113Updated 2 years ago
Alternatives and similar repositories for indent-string:
Users that are interested in indent-string are comparing it to the libraries listed below
- Check if a string matches the name of a Node.js builtin module☆58Updated this week
- Truncate a string to a specific width in the terminal☆86Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Lazy number range generator☆81Updated last year
- Write a package.json file☆89Updated 7 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Make a function mimic another one☆94Updated 4 months ago
- Check if a value is a plain object☆102Updated 9 months ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 4 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Find the closest package.json file☆162Updated last year
- Import a globally installed module☆57Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago