sindresorhus / clone-regexpLinks
Clone and modify a RegExp instance
☆23Updated 3 years ago
Alternatives and similar repositories for clone-regexp
Users that are interested in clone-regexp are comparing it to the libraries listed below
Sorting:
- Strip UTF-8 byte order mark (BOM) from a buffer☆20Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Check if something is a generator function☆23Updated 3 years ago
- Transform the first chunk in a stream☆27Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Check if a number is a redirect HTTP status code☆24Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Check if a value is a Blob☆23Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆38Updated last month
- Similar to String#trim() but removes only whitespace on the right☆22Updated 4 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Create a MD5 hash with hex encoding☆46Updated last year
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if a path is in the current working directory☆22Updated 4 years ago
- Check if a value is a function☆28Updated 4 years ago
- List of prototype properties for JavaScript types☆26Updated last year
- Timeout HTTP/HTTPS requests☆51Updated last month
- Modify the values of an object☆28Updated 4 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Modern Buffer API polyfill without footguns☆26Updated 4 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 7 months ago