line-number
Get the line number for each regex match found in a string.
Found 2563 results for match number
Get the line number for each regex match found in a string.
Check if a string is a valid E. 164 phone number
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.
Matches strings against configurable strings, globs, regular expressions, and/or functions
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.
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.
Selectors decision tree - choose matching selectors, fast
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Regular expression for matching a shebang line
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.
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
Returns true if a string has an extglob.
🇿🇦 Perform regex and checksum match to check if given number string is a valid South African ID
Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.
Match balanced character pairs, like "{" and "}"
User-friendly glob matching
Spec-compliant polyfill for String.prototype.matchAll
Measure the difference between two strings using the Levenshtein distance algorithm
A regex to match any full character, considering weird character ranges.
@ffras4vnpm/inventore-aliquam-quisquam is a Node.js module to mask various kinds of data. With the help of @ffras4vnpm/inventore-aliquam-quisquam, you can mask email, phone number, card number, JSON fields, password, etc... <br/>Also, it provides utility
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
Check if a string has ANSI escape codes
Generate a regex from a string or array of strings.
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
Match balanced character pairs, like "{" and "}"
Fastest Levenshtein distance implementation in JS.
Utilities for the snapdragon parser/compiler.
Returns true if a filepath is a windows UNC file path.
Create a javascript regular expression for matching everything except for the given string.
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Regular expression for getting the root of a posix or windows filepath.
Check if a string matches the name of a Node.js builtin module
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Regular expression for matching IP addresses (IPv4 & IPv6)
Find a file or directory by walking up parent directories — Zero dependencies
Regular expression for matching semver versions
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
A comprehensive comparison library, for use in test frameworks
Simple wildcard matching
Read the closest package.json file
Wrapper for [braces] to enable brace expansion for arrays of patterns.
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
Compare DNS record strings for equality
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Returns true if a windows file path has invalid characters.
Return true if a value is a valid glob pattern or patterns.
Parse a glob pattern into an object of tokens.
Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
check if string is a phone number
Parse a github URL into an object.
Parses and determines if a given CSS Media Query matches a set of values.
Regular expression for matching file names, with or without extension.
An easy-to-use wildcard globbing library.
The best regular expression (regex) for matching hex color values from string.
The exhaustive Pattern Matching library for TypeScript.
Find multiple RegExp matches in a string
Regular expression for matching HTML comments
Return true if a file path contains the given path.
Check if a string is an IP address
A function to extract any colors from a string
Returns true if the value passed is all whitespace.
Returns true if a file path does not contain any invalid characters.
Regular expression for matching javascript require/import statements.
a simple chai plugin for asserting on types
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Match BCP 47 language tags with language ranges per RFC 4647
A tiny and extremely fast library for compiling and matching basic glob patterns
Returns `true` if an array has a glob pattern.
hast utility for `querySelector`, `querySelectorAll`, and `matches`
create matching selectors from css for your very own nested object hierarchy
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
A lean, zero dependency library to provide a useful base for your project. Checksums, cryptography, codecs, date-times, error-checking-codes, logging, pseudorandom number generation. The tools you need for any project. Secure build pipeline, provenance
Optimized and powerful regexes for JavaScript
Return a regular expression to capture a function name.
A lean, zero dependency library to provide a useful base for your project. Checksums, cryptography, codecs, date-times, error-checking-codes, logging, pseudorandom number generation. The tools you need for any project. Secure build pipeline, provenance
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Regular expression for parsing an `author` string into an object following npm conventions.
Escape glob patterns
Strip ANSI color codes from a string. No dependencies.
Return a regular expression to match a newline character sequence.
A JavaScript Regular Expression library, extending the standard RegExp class with missing functionality
Tool to convert the patterns and globs of your WebExtension manifest to regex
Filter files in a `vinyl` stream
Quickly parse & match URLs
(temporary fork of 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.
Routing for static site generators, build systems and task runners, heavily based on express.js routes but works with file objects. Used by Assemble, Verb, and Template.
Replace matching strings and regexes in files
Load multiple grunt tasks using globbing patterns
semver-stable
A tool to enable the checking, inserting and removal of licenses
Fast and tiny fuzzy-search utility
A regular expression that matches a CHANGELOG filename
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
Find a file or directory by walking up parent directories recursively. Zero dependency.
Replace all substring matches in a string
unist utility to select nodes with CSS-like selectors
Extends multimatch() with support for filter functions and regular expressions
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
Dependency-free request URI matcher
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
A tiny, efficient fuzzy matcher that doesn't suck
Provides a regex that can be used to test if a string is a valid NPM package name.
Regular expression for matching XML NCName
Check if a string is an IP address
Regular expressions for matching against the XML Character Classes
A simple pattern matcher for pnpm
Yet another javascript fuzzy matching library
Extends Chai with an assertion for deeply matching objects (i.e. subset equality checking)
Asynchronous String.prototype.replace()
Find the root directory of a Node.js project or npm package
Use the @extend at-rule and functional selectors in CSS
Validates password according to flexible and intuitive specifications
utc date helpers
A light assertion library built with JSON APIs in mind.
Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, templates, and many other user cases.
Find the closest package.json file
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Match a pattern within a stream
Ukkonens approximate string matching algorithm for finding edit distance similar to Levenshtein
Convert Gitignore to Glob patterns
A library implementing different string similarity
An absurdly small glob matcher that packs a punch.
resolve package root and package.json paths , work on node 17 too
Quickly parse & match URLs
This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.
Human-friendly replacements.
Match filepath is validated, or exclude filepath that don't need.
Replace matches in a Buffer
Get the name of a project, from package.json, git config, or basename of the current working directory.
A collection of regular expressions to match color syntax substrings from a text
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Fuzzy match a command from a list (typo-safety)
Utilities for working with match patterns.
Create a new object filtered to have only properties for which the callback returns true.
Bash-powered globbing for node.js
Utility for getting an assemble view from a collection object.
Regular expression for matching javascript require statements.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Match substrings on the left or right of a given index, ignoring whitespace
Utilities for IPv4/IPv6 ranges/subnets/masks parsing/matching, string representations, ...
Port of diff-match-patch to TypeScript.
A simple function that conforms npm package version matching behavior.
React spreadsheet import for xlsx and csv files with column matching and validation
Walk up the tree to resolve `tsconfig.json` configuration objects.
Regular expression for matching email addresses
match or ignore url path
Allow conditional matching in React JSX.
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Returns true when the given `name` matches any of the path properties on a vinyl file.
Replace text patterns with applause.
Iterates over the elements in an array, returning an array with only the elements for which the callback returns truthy.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
link to URL path matching borrowed from React Router
a responsive equal heights plugin for jQuery
Replace text patterns with applause.
An extremely fast and lightweight glob-matching library with advanced features
Human-friendly replacements.
Get the language associated with a file extension or the extensions associated with a language using the data from GitHub's [Linguist YAML file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Regular expression for matching JavaScript comments
A mongoose plugin that casts $match at aggregation pipelines whenever possible
Regex for matching dot-directories, like `.git/`
Count the words in a string. Support for english, CJK and Cyrillic.
Match the case of `value` to that of `base`
file globbing for node.js. speedy and powerful alternative to node-glob.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
Replace text patterns with applause.
`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.
A regular expression that only matches a valid Github username
Check if an element matches a given selector
Find files or directories by walking up parent directories.
Browser extension URL pattern matching
Replace text patterns with applause.
A regex to match the :emoji: snippets in a string.
Match mqtt formatted topic strings to strings
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Declarative arguments-resolver
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A simple utility to check if a string is an ISO-compliant date.
Fast library for matching MQTT patterns with named wildcards
A module for testing URLs against Chrome and Firefox match patterns.
murl is fast url pattern matching and replacing
assert + matchers <3
A node-red node to match messages by property values.
Exhaustiveness checking in TypeScript
Create a matching function from a glob pattern, regex, string, array, object or function.
String.prototype.includes() but using localeCompare.
Pattern match for NLCST.
Lightweight solution to evalute if JSON match desired input
Parse a Bitbucket URL into an object.
fast-find-in-files recursively searches sub-directories for needle matches
A regex for matching punycode.
Easy pattern match and replace text.
Create pattern based AST matcher function
Checks if one input matches another
Human friendly file system utilities for Node.js
Filter an object values using glob patterns or with a `callback` function returns true.
Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.
Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.
Return `true` if a file path ends with the given string/suffix.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Filter the keys of an object using glob patterns.
Supersonic reverse matching engine
Censor or highlight words and other patterns intelligently.
A collection of string matching algorithms built with React Select in mind
Keep your package.json version requirements satisfied
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`
Simplest way to create match memory games.
Match a string against a list of patterns
Provides prototype extensions for native JS modules
🏄 get blocks of balanced pairs, eg: {} \<a>\</a> or code fences ```
```text @emiplegiaqmnpm/quo-distinctio-quas(<value>) => <type_name> ``` Returns type of value or object instance. This is an alternative to `typeof` that actually allows to avoid confusion between the type name and the class name. Returns the name of Clas
Runtime validation for TypeScript
Utility functions to mark and/or highlight character matches in texts
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
Search.io JavaScript SDK
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
Replace multiple substrings in a string in turn
Tools to use handle plain JS objects as immutable objects
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
Regular expresson for matching dotfiles.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.
The algorithm continuously evaluates and scores open source software projects in supported package managers based on their impact and value to the OSS ecosystem.