Indent each line in a string
☆115Jun 5, 2022Updated 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:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Strip leading whitespace from each line in a string☆145Oct 12, 2025Updated 4 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Check if a path exists☆155Mar 3, 2022Updated 4 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Read the closest package.json file☆268Nov 7, 2025Updated 3 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Unpipe a stream from all destinations☆22Dec 15, 2020Updated 5 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Simple `setImmediate` shim☆29Sep 13, 2025Updated 5 months ago
- Iterator abstraction as specified in ECMAScript6☆19Jun 30, 2021Updated 4 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- Check whether a binary version satisfies a semver range☆24Apr 3, 2024Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Toggle the CLI cursor☆113Jul 26, 2024Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated last month
- Get the path of the caller module☆67Oct 8, 2021Updated 4 years ago