sindresorhus / clone-regexp
Clone and modify a RegExp instance
☆22Updated 2 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☆19Updated last year
- Check if something is a generator function☆22Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Check if a file is executable☆30Updated 6 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Ensure a path doesn't contain null bytes☆13Updated 2 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Lowercase the keys of an object☆40Updated last year
- Transform the first chunk in a stream☆26Updated last year
- Check if a value is an error constructor☆13Updated 4 years ago
- Get the system default UID☆11Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Check if a value is a Blob☆22Updated last year
- Modern Buffer API polyfill without footguns☆25Updated 4 years ago
- Include only certain items in an array☆16Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a path is the current working directory☆19Updated 2 weeks ago
- Similar to String#trim() but removes only whitespace on the right☆21Updated 3 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 7 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- A through2 wrapper to create an Array.prototype.filter analog for streams☆35Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago