Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
☆21Sep 18, 2026Updated last month
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 last month
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a Buffer/Uint8Array is a TAR file☆13Oct 17, 2017Updated 9 years ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated last month
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Apply custom attributes to vinyl files☆14Nov 7, 2015Updated 11 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Regular expression for matching reserved filename characters☆53Oct 7, 2026Updated 3 weeks ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- Check if a Buffer/Uint8Array is a ZIP file☆17Oct 17, 2017Updated 9 years ago
- Check if a path is the current working directory☆22Sep 18, 2026Updated last month
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- Summarize package information☆15Dec 11, 2017Updated 8 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- DES for browserify☆10Dec 21, 2024Updated last year
- PostCSS helpers to throw or output GNU style messages☆10Jul 2, 2024Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Get configured proxy☆14Jul 21, 2017Updated 9 years ago
- Check if a binary is working by checking its exit code☆13Jan 10, 2021Updated 5 years ago
- Check if a path is inside another path☆40Sep 18, 2026Updated last month
- tar.bz2 plugin for decompress☆13Aug 18, 2017Updated 9 years ago
- Read stream to buffer or string☆14Jan 27, 2016Updated 10 years ago
- Yeoman welcome message used in generators☆19Nov 1, 2025Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Detect the archive type of a Buffer/Uint8Array☆25Nov 1, 2021Updated 5 years ago
- Validate a date☆12Aug 16, 2024Updated 2 years ago
- Check if a file path is a binary file☆50Sep 18, 2026Updated last month
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.☆14Sep 25, 2016Updated 10 years ago
- Reduce function calls in a string, using a callback☆12Oct 19, 2026Updated 2 weeks ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- ES2015 `Array#findIndex()` ponyfill☆33Sep 18, 2026Updated last month
- 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.
- tar plugin for decompress☆16Nov 6, 2020Updated 6 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated last month
- Simple `setImmediate` shim☆29Sep 18, 2026Updated last month
- character encoding utilities in node.js☆15Sep 3, 2018Updated 8 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Nov 21, 2022Updated 3 years ago
- Transform the first chunk in a stream☆28Sep 18, 2026Updated last month
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated last month