jonschlinkert / to-regex
Generate a regex from a string or array of strings.
☆58Updated 4 years ago
Alternatives and similar repositories for to-regex:
Users that are interested in to-regex are comparing it to the libraries listed below
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago
- (object pick) returns a filtered copy of an object with only the specified keys, exactly like `pick` from lo-dash / underscore.☆41Updated 3 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Check if something is a promise☆46Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 6 years ago
- JSON reviver/replacer methods for JavaScript Buffer type.☆13Updated 5 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Wrapper around fs.watch that falls back to fs.watchFile☆54Updated 4 years ago
- Run a piece of code when the javascript process stops. Works in all environments (browsers, nodejs..)☆55Updated this week
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Require global npm as a local node module.☆32Updated 2 years ago
- Clean and beautiful options for minimist☆54Updated 2 years ago
- Run promise-returning & async functions in series, each passing its result to the next☆74Updated 3 years ago
- List of node.js builtin modules☆38Updated 9 months ago
- Stringify an object sorting scalars before objects, and defaulting to 2-space indent☆25Updated last year
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆68Updated last year
- Map over promises serially☆48Updated 3 years ago
- Log the value/error of a promise☆26Updated 3 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- ES6 Proxies based deep clone☆129Updated last year
- Make a function mimic another one☆94Updated 3 months ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Get the path of the parent module☆77Updated last year