Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Check if a string is a valid E. 164 phone number
Get the line number for each regex match found in a string.
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`
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.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
- bash
- date
- expand
- expansion
- expression
- glob
- match
- match date
- match number
- match numbers
- match year
- matches
- matching
- number
- View more
Matches strings against configurable strings, globs, regular expressions, and/or functions
check if string is a phone number
Extends `minimatch.match()` with support for multiple patterns
Regular expression for matching ANSI escape codes
Find a file or directory by walking up parent directories
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
- levenshtein
- distance
- algorithm
- algo
- string
- difference
- diff
- fast
- fuzzy
- similar
- similarity
- compare
- comparison
- edit
- View more
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
- bash
- bracket
- character-class
- expand
- expansion
- expression
- extglob
- extglobs
- file
- files
- filter
- find
- glob
- globbing
- View more
Selectors decision tree - choose matching selectors, fast
Regular expression for matching a shebang line
Find the root directory of a Node.js project or npm package
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
User-friendly glob matching
Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.
Match balanced character pairs, like "{" and "}"
Returns true if a string has an extglob.