Search results

1000+ packages found

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

published version 7.0.0, 3 days ago3061 dependents licensed under $MIT
273,426,379

Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

published version 7.1.1, 7 months ago2446 dependents licensed under $MIT
295,570,579

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 ago2396 dependents licensed under $MIT
258,299,109

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2281 dependents licensed under $MIT
213,902,542

Returns true if a value is a plain object, array or function.

published version 1.0.1, 7 years ago888 dependents licensed under $MIT
202,340,063

ES6 spec-compliant RegExp.prototype.flags shim.

published version 1.5.3, 3 months ago1280 dependents licensed under $MIT
146,361,026

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

published version 1.1.0, 14 days ago866 dependents licensed under $MIT
120,098,865

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

published version 1.2.1, 15 days ago1511 dependents licensed under $MIT
148,878,285

A regex to match any full character, considering weird character ranges.

published version 2.0.2, a month ago817 dependents licensed under $MIT
102,047,500

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

published version 1.4.2, 4 years ago1305 dependents licensed under $MIT
87,824,507

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 7 days ago1100 dependents licensed under $MIT
75,636,486

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

published version 6.2.0, a month ago1295 dependents licensed under $MIT
104,293,723

Regular expression for matching astral symbols

published version 2.0.0, 6 years ago884 dependents licensed under $MIT
89,374,616

Compile regular expressions using named groups to ES5.

published version 7.25.9, 2 months ago25 dependents licensed under $MIT
93,507,892

Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.

published version 4.0.1, 6 years ago1319 dependents licensed under $MIT
71,447,475

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

published version 7.25.9, 2 months ago28 dependents licensed under $MIT
94,471,476

Compile Unicode property escapes in Unicode regular expressions to ES5.

published version 7.25.9, 2 months ago7 dependents licensed under $MIT
70,027,760

Parse regular expressions' unicodeSets (v) flag.

published version 7.18.6, 2 years ago4 dependents licensed under $MIT
63,241,134

Check if a string has ANSI escape codes

published version 6.0.0, 6 months ago493 dependents licensed under $MIT
52,270,484

Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.

published version 3.0.0, 7 years ago844 dependents licensed under $MIT
56,858,076