sindresorhus / indent-string
Indent each line in a string
☆112Updated 2 years ago
Related projects: ⓘ
- Check if a value is a plain object☆101Updated 4 months ago
- Strip leading whitespace from each line in a string☆134Updated 3 years ago
- Truncate a string to a specific width in the terminal☆85Updated 10 months ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Check if your package was installed globally☆70Updated 10 months ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆119Updated 10 months ago
- Get namespaced config from the closest package.json☆120Updated 10 months ago
- Get the path of the parent module☆77Updated 10 months ago
- Get the path of the caller module☆64Updated 2 years 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
- Lazy number range generator☆82Updated 8 months ago
- Check if a string matches the name of a Node.js builtin module