Search results
1283 packages found
Spec-compliant polyfill for String.prototype.matchAll
Find a file or directory by walking up parent directories
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.
Match balanced character pairs, like "{" and "}"
User-friendly glob matching
Find the root directory of a Node.js project or npm package
Fastest Levenshtein distance implementation in JS.
- levenshtein
- distance
- fast
- fastest
- edit
- string
- similarity
- algorithm
- match
- comparison
- fuzzy
- search
- matching
- similar
- View more
unist utility to select nodes with CSS-like selectors
hast utility for `querySelector`, `querySelectorAll`, and `matches`
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
Regular expression for matching ANSI escape codes
Returns true if a string has an extglob.
Regular expression for matching a shebang line
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
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
Compare DNS record strings for equality
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.
The exhaustive Pattern Matching library for TypeScript.
A light assertion library built with JSON APIs in mind.
Matches strings against configurable strings, globs, regular expressions, and/or functions