Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
line-number
Get the line number for each regex match found in a string.
is-e164-phone-number
Check if a string is a valid E. 164 phone number
is-phone-number
check if string is a phone number
fill-range
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`
anymatch
Matches strings against configurable strings, globs, regular expressions, and/or functions
to-regex-range
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
braces
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.
@stdlib/regexp-decimal-number
Return a regular expression to match a decimal number.
multimatch
Extends `minimatch.match()` with support for multiple patterns
valid-south-african-id
πΏπ¦ Perform regex and checksum match to check if given number string is a valid South African ID
ansi-regex
Regular expression for matching ANSI escape codes
find-up
Find a file or directory by walking up parent directories
js-levenshtein
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
picomatch
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.
selderee
Selectors decision tree - choose matching selectors, fast
micromatch
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
is-glob
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
shebang-regex
Regular expression for matching a shebang line
pkg-dir
Find the root directory of a Node.js project or npm package
is-extglob
Returns true if a string has an extglob.