Search results

1000+ packages found

Regular expression for matching ANSI escape codes

published version 6.1.0, 10 months ago3205 dependents licensed under $MIT
1,211,664,279

A regular expression to match all Emoji-only symbols as per the Unicode Standard.

published version 10.4.0, a year ago3086 dependents licensed under $MIT
890,503,736

Escape RegExp special characters

published version 5.0.0, 4 years ago5190 dependents licensed under $MIT
868,173,170

Get the native type of a value.

published version 6.0.3, 6 years ago1966 dependents licensed under $MIT
664,877,145

Match balanced character pairs, like "{" and "}"

published version 3.0.1, 2 years ago2712 dependents licensed under $MIT
389,499,138

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 ago2306 dependents licensed under $MIT
431,459,851

Tiny JavaScript tokenizer.

published version 9.0.1, 8 months ago5714 dependents licensed under $MIT
374,470,788

Regular expression for matching a shebang line

published version 4.0.0, 4 years ago2138 dependents licensed under $MIT
430,820,341

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

published version 3.1.3, 3 years ago2423 dependents licensed under $ISC
356,898,569

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

published version 4.0.8, a year ago4973 dependents licensed under $MIT
464,995,218

Express style path to RegExp utility

published version 8.2.0, 10 months ago6733 dependents licensed under $MIT
359,868,453

Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.

published version 7.0.5, 2 months ago3270 dependents licensed under $MIT
490,966,878

ES6 spec-compliant RegExp.prototype.flags shim.

published version 1.5.4, 7 months ago1173 dependents licensed under $MIT
213,261,155

Regular expression parser for ECMAScript.

published version 4.12.1, 9 months ago21 dependents licensed under $MIT
192,716,731

Give a regex, get a robust predicate function that tests it against a string.

published version 1.1.0, 7 months ago884 dependents licensed under $MIT
194,721,765

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

published version 1.2.1, 7 months ago1392 dependents licensed under $MIT
260,488,232

Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.

published version 1.4.2, 5 years ago1177 dependents licensed under $MIT
130,241,397

regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.

published version 6.2.0, 8 months ago1169 dependents licensed under $MIT
150,270,974

Compile regular expressions using the `s` (`dotAll`) flag to ES5.

published version 7.27.1, 3 months ago27 dependents licensed under $MIT
133,543,004

Convert globs to regular expressions

published version 0.4.1, 6 years ago967 dependents licensed under $BSD-2-Clause
135,086,342