Strip leading whitespace from each line in a string
☆146Oct 12, 2025Updated 6 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 4 years ago
- Indent each line in a string☆116Jun 5, 2022Updated 3 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 11 months ago
- Wordpress hosting with auto-scaling - Free Trial • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 6 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 2 months ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 7 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 7 months ago
- Serverless GPU API endpoints on Runpod - Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 2 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 4 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 7 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 7 months ago
- Wordpress hosting with auto-scaling - Free Trial • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 7 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☆78Feb 3, 2026Updated 2 months ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Nov 27, 2018Updated 7 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated 2 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
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- 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☆60Sep 16, 2025Updated 6 months ago
- Read the closest package.json file☆268Nov 7, 2025Updated 5 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Read a package.json file☆175Feb 8, 2026Updated 2 months ago
- Check if a value is a plain object☆104May 4, 2024Updated last year