sindresorhus / indent-stringLinks
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
Sorting:
- Truncate a string to a specific width in the terminal☆87Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Lazy number range generator☆81Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Simplified high resolution timing☆81Updated 8 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Filter object keys and values into a new object☆101Updated last year
- Reliably get the terminal window size☆141Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 3 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆66Updated 3 months ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Wordwrap a string with ANSI escape codes☆125Updated last year
- Write a package.json file☆88Updated 10 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago