Search results

1000+ packages found

Regular expression for matching ANSI escape codes

published version 6.1.0, 8 months ago3361 dependents licensed under $MIT
962,454,002

Find a file or directory by walking up parent directories

published version 7.0.0, 2 years ago5413 dependents licensed under $MIT
691,362,036

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 ago2526 dependents licensed under $MIT
365,063,325

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

published version 4.0.8, 9 months ago5092 dependents licensed under $MIT
363,336,032

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 ago2477 dependents licensed under $MIT
334,586,528

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 ago2908 dependents licensed under $MIT
328,960,489

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 ago2961 dependents licensed under $MIT
451,974,050

Find the root directory of a Node.js project or npm package

published version 8.0.0, 2 years ago3297 dependents licensed under $MIT
286,471,042

Regular expression for matching a shebang line

published version 4.0.0, 4 years ago2283 dependents licensed under $MIT
356,717,566

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

published version 3.1.3, 3 years ago2592 dependents licensed under $ISC
278,349,984

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

published version 3.0.1, 2 years ago2873 dependents licensed under $MIT
310,347,420

User-friendly glob matching

published version 14.1.0, 4 months ago8832 dependents licensed under $MIT
302,631,449

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2353 dependents licensed under $MIT
280,454,341

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 ago2672 dependents licensed under $MIT
367,310,516

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1603 dependents licensed under $MIT
137,326,700

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

published version 2.0.2, 6 months ago852 dependents licensed under $MIT
132,930,453

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 5 months ago1115 dependents licensed under $MIT
95,461,791

Check if a string has ANSI escape codes

published version 6.0.0, 10 months ago495 dependents licensed under $MIT
56,635,058

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 ago913 dependents licensed under $MIT
48,487,928

Generate a regex from a string or array of strings.

published version 3.0.2, 7 years ago819 dependents licensed under $MIT
47,323,611