Strip leading whitespace from each line in a string
☆146Oct 12, 2025Updated 8 months ago
Alternatives and similar repositories for strip-indent
Users that are interested in strip-indent are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Indent each line in a string☆116Jun 5, 2022Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 5 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Check if a file path is a binary file☆49Apr 30, 2024Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 8 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 4 months ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 9 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 9 months ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Repeat a string - fast☆35May 3, 2021Updated 5 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 4 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Iterator abstraction as specified in ECMAScript6☆19Jun 30, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 9 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 9 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 9 months ago
- Node.js path.dirname() ponyfill☆13Nov 13, 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 string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆80Feb 3, 2026Updated 4 months ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Nov 27, 2018Updated 7 years ago
- Ensure a function is only called once☆166Feb 2, 2026Updated 4 months ago
- Give me a string and I'll tell you if it's a valid npm package license string☆28Apr 14, 2021Updated 5 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- A transform to make UglifyJS work in browserify☆21Feb 18, 2020Updated 6 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Start a promise chain☆62Sep 16, 2025Updated 8 months ago
- Read the closest package.json file☆268Nov 7, 2025Updated 7 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Read a package.json file☆175Feb 8, 2026Updated 4 months ago
- Check if a value is a plain object☆104May 4, 2024Updated 2 years ago