jonschlinkert / to-regex
Generate a regex from a string or array of strings.
☆58Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for to-regex
- Require global npm as a local node module.☆32Updated 2 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Functional errors with formatted output☆17Updated 2 years ago
- Cyclist is an efficient circular buffer implemention for Javascript.☆38Updated 7 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 6 years ago
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Add callbacks to requests in flight to avoid async duplication☆73Updated 5 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Reduce a list of values using promises into a promise for a value☆68Updated last year
- Map over promises serially☆47Updated 3 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)☆48Updated 5 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Wrapper around fs.watch that falls back to fs.watchFile☆54Updated 4 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
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Make a function mimic another one☆91Updated 3 weeks ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Create error instances with a code☆19Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Get locally or globally installation path of given package name.☆42Updated last year
- Write data to a random temporary file☆104Updated 3 months ago
- ☆41Updated 6 years ago
- Stringify an object sorting scalars before objects, and defaulting to 2-space indent☆25Updated last year
- Returns a `stream.Readable` from a URI string☆50Updated last year