Strip leading whitespace from each line in a string
☆150Sep 18, 2026Updated this week
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☆55Updated this week
- Indent each line in a string☆116Updated this week
- Check if a path is the current working directory☆22Updated this week
- Trim newlines from the start and/or end of a string☆49Updated this week
- Wordpress hosting with auto-scaling - Free Trial Offer • 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☆49Updated this week
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Get the first path that exists on disk of multiple paths☆64Updated this week
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a path is a file, directory, or symlink☆81Updated this week
- Get the PATH environment variable key cross-platform☆46Updated this week
- Check if an object can be used like an Array☆17Sep 13, 2025Updated last year
- Check if a path is in the current working directory☆23Updated this week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Gracefully restore the CLI cursor on exit☆41Updated this week
- Check if a path is inside another path☆40Updated this week
- Repeat a string - fast☆35Updated this week
- Lowercase the keys of an object☆42Updated this week
- Iterator abstraction as specified in ECMAScript6☆19Jun 30, 2021Updated 5 years 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☆25Updated this week
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated this week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated this week
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Node.js path.dirname() ponyfill☆13Nov 13, 2021Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated this week
- Check if a string matches the name of a Node.js builtin module☆62Updated this week
- Get the first fulfilled promise that satisfies the provided testing function☆82Updated this week
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated this week
- Track the list of currently unhandled promise rejections☆24Nov 27, 2018Updated 7 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆29Apr 14, 2021Updated 5 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Read a package.json file☆176Updated this week
- Node.js 0.12 path.isAbsolute() ponyfill☆42Jan 24, 2021Updated 5 years ago
- Start a promise chain☆62Updated this week
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated this week
- ☆19Dec 21, 2024Updated last year
- Ensure a function is only called once☆166Updated this week
- Regular expression for matching a shebang line☆48Updated this week