Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.
MIT License
Create a matching function from a glob pattern, regex, string, array or function.
Regular expressions for matching node.js require statements.
Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0
Generate a regex from a string or array of strings.
Filter an object using glob patterns and dot notation.
Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and...
Convert arabic numbers to roman numerals (useful for books, outlines, documentation, slide decks,...
Create a regex for matching file extensions.
Create a javascript regular expression for matching everything except for the given string.
Cache requires to be lazy-loaded when needed. Uses node's own require system with tried and true,...
A cache for managing namespaced sub-caches
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
Like String.prototype.replace() but attempts to match the casing of the substring being replaced....
Return a copy of an object, filtered to have only keys that match the given glob patterns.
Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimi...