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:
- Truncate a string to a specific width in the terminal☆87Updated 3 weeks ago
- Lazy number range generator☆82Updated last year
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get namespaced config from the closest package.json☆120Updated 2 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Check if a value is a plain object☆103Updated last year
- Create a hash for file revving☆106Updated 2 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- 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☆82Updated last month
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 8 months ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 8 months ago
- Strip leading whitespace from each line in a string☆143Updated last month
- Create a lazily evaluated value☆69Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆105Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if argv has a specific flag☆94Updated 4 years ago
- Filter object keys and values into a new object☆104Updated last year
- Toggle the CLI cursor☆112Updated last year
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Updated last month
- Hook and modify stdout and stderr☆56Updated 2 months ago
- Copy a file☆121Updated 3 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆146Updated 2 months ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Convert a value to an array☆131Updated 4 years ago
- Parse HTTP X-Forwarded-For header☆58Updated last week