jonschlinkert / to-regex
Generate a regex from a string or array of strings.
☆57Updated 3 years ago
Related projects: ⓘ
- Wrapper around fs.watch that falls back to fs.watchFile☆54Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated last year
- Filter object keys and values into a new object☆100Updated 3 months ago
- Iterate over promises serially☆49Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Get the path of the parent module☆77Updated 10 months ago
- A "top" like module for your Node.js process. Collects CPU usage etc.☆78Updated 3 years ago
- Reduce a list of values using promises into a promise for a value☆67Updated last year
- Get the path of the caller module☆64Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆43Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- count files, directories, and bytes recursively in a folder as fast as possible.☆18Updated 7 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Create an array of unique values, in order, from the input arrays☆75Updated 3 years ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated 10 months ago
- Check if a URL is absolute☆77Updated 3 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 4 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
- Add callbacks to requests in flight to avoid async duplication☆72Updated 3 months ago
- Conditional promise chains☆59Updated 3 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Make your own nested errors☆67Updated 9 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆52Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Make a function mimic another one☆91Updated 4 months ago
- Map over promises serially☆46Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago