Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Regular expression for matching ANSI escape codes
Find a file or directory by walking up parent directories
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
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`
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
Regular expression for matching a shebang line
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.
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
Match balanced character pairs, like "{" and "}"
User-friendly glob matching
Returns true if a string has an extglob.
Matches strings against configurable strings, globs, regular expressions, and/or functions
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.
Measure the difference between two strings using the Levenshtein distance algorithm
- leven
- levenshtein
- distance
- algorithm
- string
- difference
- diff
- fast
- fuzzy
- similar
- similarity
- compare
- comparison
- edit
- View more
A regex to match any full character, considering weird character ranges.
Spec-compliant polyfill for String.prototype.matchAll
Check if a string has ANSI escape codes
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Fastest Levenshtein distance implementation in JS.
- levenshtein
- distance
- fast
- fastest
- edit
- string
- similarity
- algorithm
- match
- comparison
- fuzzy
- search
- matching
- similar
- View more