Search results

1000+ packages found

Check if a string is a valid E. 164 phone number

published version 1.0.0, 8 years ago6 dependents licensed under $MIT
5,055

Get the line number for each regex match found in a string.

published version 0.1.0, 11 years ago16 dependents
1,830

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, 8 months ago2459 dependents licensed under $MIT
239,198,360

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, 8 months ago2603 dependents licensed under $MIT
239,271,186

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 ago2409 dependents licensed under $MIT
211,760,758

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

published version 3.1.3, 2 years ago2546 dependents licensed under $ISC
177,388,518

check if string is a phone number

published version 1.0.4, 10 years ago1 dependents licensed under $MIT
101

Extends `minimatch.match()` with support for multiple patterns

published version 7.0.0, a year ago897 dependents licensed under $MIT
15,603,049

Regular expression for matching ANSI escape codes

published version 6.1.0, 4 months ago3273 dependents licensed under $MIT
607,296,708

Find a file or directory by walking up parent directories

published version 7.0.0, a year ago5266 dependents licensed under $MIT
443,381,365

The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.

published version 1.1.6, 6 years ago225 dependents licensed under $MIT
11,427,192

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

published version 4.0.8, 5 months ago4845 dependents licensed under $MIT
234,093,260

Selectors decision tree - choose matching selectors, fast

published version 0.11.0, 2 years ago9 dependents licensed under $MIT
6,698,901

Regular expression for matching a shebang line

published version 4.0.0, 3 years ago2201 dependents licensed under $MIT
228,162,172

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

published version 8.0.0, a year ago3236 dependents licensed under $MIT
189,496,948

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, 3 years ago2851 dependents licensed under $MIT
209,152,465

User-friendly glob matching

published version 14.0.2, 7 months ago8676 dependents licensed under $MIT
206,326,157

Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.

published version 2.0.2, 6 years ago193 dependents licensed under $MIT
7,108,711

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

published version 3.0.1, a year ago2784 dependents licensed under $MIT
198,815,421

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2296 dependents licensed under $MIT
174,790,031