jonschlinkert / to-regexLinks
Generate a regex from a string or array of strings.
☆60Updated 5 years ago
Alternatives and similar repositories for to-regex
Users that are interested in to-regex are comparing it to the libraries listed below
Sorting:
- Cyclist is an efficient circular buffer implemention for Javascript.☆39Updated last year
- Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)☆48Updated 6 years ago
- Get the set npm registry URL☆57Updated 7 months ago
- Get the path of the caller module☆67Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆94Updated 3 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Indent each line in a string☆114Updated 3 years ago
- Map over promises serially☆50Updated 4 years ago
- Get the arguments of a function, arrow function, generator function, async function☆54Updated 2 years ago
- (object pick) returns a filtered copy of an object with only the specified keys, exactly like `pick` from lo-dash / underscore.☆41Updated 4 years ago
- safely create multiple ReadStream or WriteStream objects from the same file descriptor☆31Updated 5 years ago
- Filter object keys and values into a new object☆105Updated last year
- Split a string on a given character or characters, with support for escaping.☆60Updated 3 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 years ago
- Add callbacks to requests in flight to avoid async duplication☆74Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Create an array of unique values, in order, from the input arrays☆78Updated 4 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 9 months ago
- Ensures a value is a valid error by making it one if not☆84Updated 2 months ago
- Make a shallow clone of an object, array or primitive.☆30Updated 3 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 2 months ago
- Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.☆53Updated 6 years ago
- Get the path of the parent module☆79Updated 2 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Iterate over promises serially☆52Updated 3 years ago
- Get the list of npm modules that depend on the specified npm module.☆15Updated 7 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 4 years ago