Search results

1000+ packages found

Regular expression for matching ANSI escape codes

published version 6.1.0, 8 months ago3345 dependents licensed under $MIT
862,773,471

Find a file or directory by walking up parent directories

published version 7.0.0, a year ago5401 dependents licensed under $MIT
616,867,213

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

published version 4.0.8, 8 months ago5019 dependents licensed under $MIT
328,486,210

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 ago2516 dependents licensed under $MIT
331,962,714

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 ago2468 dependents licensed under $MIT
301,949,065

Regular expression for matching a shebang line

published version 4.0.0, 4 years ago2276 dependents licensed under $MIT
323,775,019

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 ago2663 dependents licensed under $MIT
333,731,278

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

published version 8.0.0, 2 years ago3292 dependents licensed under $MIT
255,289,600

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 ago2894 dependents licensed under $MIT
297,700,298

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

published version 3.0.1, 2 years ago2864 dependents licensed under $MIT
282,904,121

User-friendly glob matching

published version 14.1.0, 3 months ago8800 dependents licensed under $MIT
270,530,633

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2344 dependents licensed under $MIT
254,803,437

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

published version 3.1.3, 2 years ago2585 dependents licensed under $ISC
252,563,096

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 ago2943 dependents licensed under $MIT
396,299,167

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1595 dependents licensed under $MIT
121,081,578

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

published version 2.0.2, 6 months ago847 dependents licensed under $MIT
117,353,484

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 5 months ago1114 dependents licensed under $MIT
88,212,983

Check if a string has ANSI escape codes

published version 6.0.0, 10 months ago493 dependents licensed under $MIT
50,872,497

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

published version 3.0.0, 7 years ago845 dependents licensed under $MIT
55,958,257

Fastest Levenshtein distance implementation in JS.

published version 1.0.16, 3 years ago526 dependents licensed under $MIT
54,389,564
OSZAR »