Search results

1000+ packages found

Regular expression for matching ANSI escape codes

published version 6.1.0, 9 months ago3368 dependents licensed under $MIT
970,377,611

Find a file or directory by walking up parent directories

published version 7.0.0, 2 years ago5419 dependents licensed under $MIT
698,374,342

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, a year ago2532 dependents licensed under $MIT
367,437,858

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 ago2483 dependents licensed under $MIT
337,112,062

Regular expression for matching a shebang line

published version 4.0.0, 4 years ago2289 dependents licensed under $MIT
360,282,224

Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.

published version 4.0.2, a year ago2980 dependents licensed under $MIT
455,631,366

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

published version 4.0.8, 10 months ago5113 dependents licensed under $MIT
372,058,376

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

published version 3.0.3, a year ago2678 dependents licensed under $MIT
369,228,477

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2357 dependents licensed under $MIT
282,393,546

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 ago2913 dependents licensed under $MIT
331,604,027

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

published version 3.0.1, 2 years ago2883 dependents licensed under $MIT
313,405,124

User-friendly glob matching

published version 14.1.0, 4 months ago8854 dependents licensed under $MIT
301,176,890

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

published version 3.1.3, 3 years ago2598 dependents licensed under $ISC
280,540,312

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1611 dependents licensed under $MIT
139,282,587

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

published version 2.0.2, 7 months ago855 dependents licensed under $MIT
134,427,775

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 6 months ago1115 dependents licensed under $MIT
95,636,409

Generate a regex from a string or array of strings.

published version 3.0.2, 7 years ago817 dependents licensed under $MIT
50,116,640

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
50,051,377

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

published version 3.0.0, 7 years ago843 dependents licensed under $MIT
62,197,186

Check if a string has ANSI escape codes

published version 6.0.0, a year ago495 dependents licensed under $MIT
57,451,354