Search results

1000+ packages found

Escape RegExp special characters

published version 5.0.0, 4 years ago5449 dependents licensed under $MIT
749,080,811

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

published version 5.0.1, 6 years ago2490 dependents licensed under $MIT
357,473,866

Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.

published version 4.0.8, 10 months ago5124 dependents licensed under $MIT
384,133,744

Returns true if a string has an extglob.

published version 2.1.1, 9 years ago2364 dependents licensed under $MIT
287,153,889

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

published version 4.0.3, 4 years ago2922 dependents licensed under $MIT
352,024,942

Regular expression parser for ECMAScript.

published version 4.12.1, 8 months ago20 dependents licensed under $MIT
176,853,623

Matches strings against configurable strings, globs, regular expressions, and/or functions

published version 3.1.3, 3 years ago2601 dependents licensed under $ISC
298,270,891

Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag

published version 1.2.1, 6 months ago1560 dependents licensed under $MIT
218,562,370

Expand POSIX bracket expressions (character classes) in glob patterns.

published version 4.0.0, 7 years ago836 dependents licensed under $MIT
66,796,611

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 6 months ago1116 dependents licensed under $MIT
101,824,871

Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)

published version 1.2.13, 7 years ago911 dependents licensed under $MIT
53,366,928

Regular expression parser for ECMAScript.

published version 3.2.0, 4 years ago750 dependents licensed under $MIT
78,382,726

Returns true if a filepath is a windows UNC file path.

published version 1.0.0, 8 years ago378 dependents licensed under $MIT
31,613,781

Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.

published version 0.1.2, 9 years ago380 dependents licensed under $MIT
31,783,440

Check if a value is a regular expression

published version 3.1.0, 4 years ago313 dependents licensed under $MIT
47,238,665

Regular expression for getting the root of a posix or windows filepath.

published version 0.1.2, 9 years ago56 dependents licensed under $MIT
28,823,283

tiny util for getting and setting deep object props safely

published version 2.0.6, 2 years ago63 dependents licensed under $MIT
28,757,206

evaluate statically-analyzable expressions

published version 2.1.1, a year ago265 dependents licensed under $MIT
17,871,984

Clean up regular expressions

published version 1.0.0, 8 years ago21 dependents licensed under $MIT
16,709,761

mdast extension to parse and serialize MDX (or MDX.js) expressions

published version 2.0.1, 9 months ago28 dependents licensed under $MIT
20,696,642