sindresorhus / trim-repeatedLinks
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
☆19Updated 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 UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Modify the values of an object☆27Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Strip the authentication part of a URL☆18Updated 3 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Check if a value is a Blob☆22Updated last year
- utility to create a pretty report for a vfile☆20Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Check if a value is a function☆27Updated 4 years ago
- Check if something is a generator function☆22Updated 3 years ago
- Check if a file is executable☆29Updated 7 years ago
- List of prototype properties for JavaScript types☆25Updated last year
- Get the avatar of a GitHub user☆21Updated 3 years ago
- Create a revved file path☆21Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Remove leading, trailing and repeated whitespace from a string☆39Updated 3 years ago
- Check if a given module ID is resolvable with require()☆16Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the version of a binary in semver format☆42Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Clone and modify a RegExp instance☆22Updated 3 years ago
- fs read and write streams based on minipass☆20Updated 11 months ago
- Get the passwd user entry from a username or uid☆28Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Check if a JavaScript environment has a DOM☆19Updated 4 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 4 years ago