sindresorhus / trim-repeatedView external linksLinks
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
☆20Jul 9, 2022Updated 3 years ago
Alternatives and similar repositories for trim-repeated
Users that are interested in trim-repeated are comparing it to the libraries listed below
Sorting:
- Strip the authentication part of a URL☆20Jul 9, 2022Updated 3 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Remove leading, trailing and repeated whitespace from a string☆41Aug 10, 2021Updated 4 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Yeoman welcome message used in generators☆19Nov 1, 2025Updated 3 months ago
- Regular expression for matching reserved filename characters☆53Sep 14, 2025Updated 5 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Create a revved file path☆21Jul 9, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Get the gulp tasks from a gulp project☆20Oct 14, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Apply custom attributes to vinyl files☆14Nov 7, 2015Updated 10 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Create a MD5 hash with hex encoding☆48Nov 6, 2023Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Convert a URL to a valid filename☆80Sep 15, 2025Updated 5 months ago
- [DEPRECATED] A better Atom `TextEditor#setText()` that preserves cursor/scroll position and selections☆12Jan 24, 2021Updated 5 years ago
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- Parse duration strings to milliseconds☆30Nov 2, 2025Updated 3 months ago
- Highly experimental bundler and loader of Node.js modules☆14Jan 16, 2017Updated 9 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Make a function mimic another one☆96Oct 28, 2024Updated last year
- [DEPRECATED] Check if the runtime is io.js instead of Node.js☆15May 16, 2017Updated 8 years ago
- DEPRECATED. Use Mocha's buildint retry.☆13Aug 7, 2016Updated 9 years ago
- ☆16Oct 1, 2022Updated 3 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year