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:
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Get namespaced config from the closest package.json☆121Updated last year
- Check if your package was installed globally☆70Updated last year
- Conditional promise chains☆61Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 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 the path of the caller module☆64Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆125Updated last year
- Write data to a random temporary file☆105Updated 10 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Get your PATH prepended with locally installed binaries☆105Updated 7 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Find the closest package.json file☆164Updated 2 weeks ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Import a globally installed module☆58Updated last year
- Filter object keys and values into a new object☆101Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Make a function mimic another one☆94Updated 7 months ago