Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
☆21Sep 18, 2026Updated 3 weeks ago
Alternatives and similar repositories for trim-repeated
Users that are interested in trim-repeated are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated 3 weeks ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Apply custom attributes to vinyl files☆14Nov 7, 2015Updated 10 years ago
- Strip the authentication part of a URL☆20Sep 18, 2026Updated 3 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 3 weeks ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 3 weeks ago
- ☆12Oct 26, 2016Updated 9 years ago
- Check if a Buffer/Uint8Array is a ZIP file☆17Oct 17, 2017Updated 9 years ago
- Regular expression for matching reserved filename characters☆52Oct 7, 2026Updated last week
- Check if a path is the current working directory☆22Sep 18, 2026Updated 3 weeks ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Transform the first chunk in a stream☆27Sep 18, 2026Updated 3 weeks ago
- DES for browserify☆10Dec 21, 2024Updated last year
- 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.
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Read stream to buffer or string☆14Jan 27, 2016Updated 10 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 3 weeks ago
- Get configured proxy☆14Jul 21, 2017Updated 9 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Summarize package information☆15Dec 11, 2017Updated 8 years ago
- Yeoman welcome message used in generators☆19Nov 1, 2025Updated 11 months ago
- Regular expressions for matching against the XML Character Classes☆15Sep 18, 2026Updated 3 weeks ago
- Check if something is a generator function☆24Sep 18, 2026Updated 3 weeks ago
- 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.
- tar plugin for decompress☆16Nov 6, 2020Updated 5 years ago
- Detect the archive type of a Buffer/Uint8Array☆25Nov 1, 2021Updated 4 years ago
- Check if a path is inside another path☆40Sep 18, 2026Updated 3 weeks ago
- Reduce function calls in a string, using a callback☆12Jul 29, 2026Updated 2 months ago
- Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.☆14Sep 25, 2016Updated 10 years ago
- ☆26Dec 7, 2017Updated 8 years ago
- Check if a file path is a binary file☆49Sep 18, 2026Updated 3 weeks ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 3 weeks ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆16Dec 30, 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.
- Validate a date☆12Aug 16, 2024Updated 2 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- Simple `setImmediate` shim☆29Sep 18, 2026Updated 3 weeks ago
- character encoding utilities in node.js☆15Sep 3, 2018Updated 8 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago