has-glob
Returns `true` if an array has a glob pattern.
Found 2563 results for match
Returns `true` if an array has a glob pattern.
A tiny and extremely fast library for compiling and matching basic glob patterns
hast utility for `querySelector`, `querySelectorAll`, and `matches`
create matching selectors from css for your very own nested object hierarchy
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Regular expression for parsing an `author` string into an object following npm conventions.
Return a regular expression to capture a function name.
Escape glob patterns
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
A comprehensive comparison library, for use in test frameworks
Return a regular expression to match a newline character sequence.
Strip ANSI color codes from a string. No dependencies.
A JavaScript Regular Expression library, extending the standard RegExp class with missing functionality
(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.
Quickly parse & match URLs
Wrapper for [braces] to enable brace expansion for arrays of patterns.
Replace all substring matches in a string
Filter files in a `vinyl` stream
semver-stable
A regular expression that matches a CHANGELOG filename
Fast and tiny fuzzy-search utility
Find a file or directory by walking up parent directories recursively. Zero dependency.
Load multiple grunt tasks using globbing patterns
unist utility to select nodes with CSS-like selectors
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
A tiny, efficient fuzzy matcher that doesn't suck
Extends multimatch() with support for filter functions and regular expressions
Dependency-free request URI matcher
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
Regular expression for matching XML NCName
Provides a regex that can be used to test if a string is a valid NPM package name.
Regular expressions for matching against the XML Character Classes
Check if a string is an IP address
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
A light assertion library built with JSON APIs in mind.
utc date helpers
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
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
Match a pattern within a stream
A library implementing different string similarity
Ukkonens approximate string matching algorithm for finding edit distance similar to Levenshtein
resolve package root and package.json paths , work on node 17 too
This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.
Match filepath is validated, or exclude filepath that don't need.
Convert Gitignore to Glob patterns
An absurdly small glob matcher that packs a punch.
Optimized and powerful regexes for JavaScript
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
Quickly parse & match URLs
Human-friendly replacements.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Replace matches in a Buffer
Get the name of a project, from package.json, git config, or basename of the current working directory.
Bash-powered globbing for node.js
A collection of regular expressions to match color syntax substrings from a text
Utilities for working with match patterns.
Utility for getting an assemble view from a collection object.
Fuzzy match a command from a list (typo-safety)
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.
Create a new object filtered to have only properties for which the callback returns true.
A simple function that conforms npm package version matching behavior.
Port of diff-match-patch to TypeScript.
Utilities for IPv4/IPv6 ranges/subnets/masks parsing/matching, string representations, ...
Match substrings on the left or right of a given index, ignoring whitespace
Regular expression for matching email addresses
A function to extract any colors from a string
React spreadsheet import for xlsx and csv files with column matching and validation
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.
match or ignore url path
Returns true when the given `name` matches any of the path properties on a vinyl file.
Walk up the tree to resolve `tsconfig.json` configuration objects.
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
A tool to enable the checking, inserting and removal of licenses
Replace text patterns with applause.
Tool to convert the patterns and globs of your WebExtension manifest to regex
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Iterates over the elements in an array, returning an array with only the elements for which the callback returns truthy.
link to URL path matching borrowed from React Router
a responsive equal heights plugin for jQuery
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
An extremely fast and lightweight glob-matching library with advanced features
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)
Regular expression for matching JavaScript comments
a simple chai plugin for asserting on types
Human-friendly replacements.
Replace text patterns with applause.
Match the case of `value` to that of `base`
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Replace text patterns with applause.
Regex for matching dot-directories, like `.git/`
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
Check if an element matches a given selector
Replace matching strings and regexes in files
Replace text patterns with applause.
Find files or directories by walking up parent directories.
Browser extension URL pattern matching
`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.
A regular expression that only matches a valid Github username
A regex to match the :emoji: snippets in a string.
Match mqtt formatted topic strings to strings
[![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
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
A simple utility to check if a string is an ISO-compliant date.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Fast library for matching MQTT patterns with named wildcards
Keep your package.json version requirements satisfied
assert + matchers <3
A module for testing URLs against Chrome and Firefox match patterns.
murl is fast url pattern matching and replacing
A node-red node to match messages by property values.
Create a matching function from a glob pattern, regex, string, array, object or function.
Pattern match for NLCST.
Parse a Bitbucket URL into an object.
fast-find-in-files recursively searches sub-directories for needle matches
Checks if one input matches another
Create pattern based AST matcher function
Filter an object values using glob patterns or with a `callback` function returns true.
A regex for matching punycode.
Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.
Human friendly file system utilities for Node.js
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.
[![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.
A collection of string matching algorithms built with React Select in mind
Return `true` if a file path ends with the given string/suffix.
Simplest way to create match memory games.
Match a string against a list of patterns
Allow conditional matching in React JSX.
Utility functions to mark and/or highlight character matches in texts
Search.io JavaScript SDK
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Tools to use handle plain JS objects as immutable objects
Regular expresson for matching dotfiles.
Use CSS selectors to match nodes in a custom object tree
replace strings that match a particular pattern with a React Component, recursively
支持多音字, 繁体字,首字母缩写的拼音搜索引擎
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Find a file by walking up parent directories
A plugin to scan a file for a string or expression
Replace multiple substrings in a string in turn
Array of RegExp.prototype.exec results
Regular expression for matching non-ASCII characters
Count the words in a string. Support for english, CJK and Cyrillic.
Match the words in a string. Support for english, CJK and Cyrillic.
Snapdragon plugin that adds a capture method to the parser instance.
Helper functions to verify an AST structure
Fast fuzzy string matching with scoring and matched ranges
A mongoose plugin that casts $match at aggregation pipelines whenever possible
Parse a string into an array of objects with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.
Simple JavaScript plugin to make different elements the same height.
Observable-based glob
Match a MQTT Topic against Wildcards
Event emitter for watching text streams with regex patterns
Regular expression for matching the parts of glob pattern.
Find and replace utility for node.js. Transform strings by running multiple RegExp or string find-and-replace patterns on a string in sequence, reducing the final string to the accumulated result of each transformation. Patterns can be strings (or arrays
Search files with glob pattern and create VFile objects from them
Find the root directory of a `git` repository
Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.
Utilities for JavaScript Iterable and AsyncIterable
A Day.js plugin for matching and generating recurring dates.
Regular expression which matches a string with no 4-byte characters
Easily found out if an ES6 Iterator match what you expected
Semver matching plugin for AJV
No dependencies, Light weight, Makes elements equal height.
Affine transformation estimator e.g. for multi-touch gestures and calibration
Search files with glob pattern and read them, Observable way
A JavaScript package to return captured groups of a regular expression as an object.
Regular expression to match a semantic version string.
Validate options object
Replace text patterns with a given replacement.
Strip a url to only match the `pathname`.
RegExp for finding an RFC4122 compliant UUID in a string.
Addon to node_redis for atomic deletes using wildcards in keys
> zero dependencies, ~1kb render prop wrapper of window.matchMedia
Tiny http routing helper
Filter an object using glob patterns and dot notation.
Regular expression for matching DOIs
Check if an element matches a given selector
Load plugins for gulp, grunt, assemble, verb any node.js app that needs to load plugins from node_modules or local folders.
Transform a string with an array of replacement patterns.
A safer regex match.
Error handling tools
Utility for returning a list of arrays that contain matching keywords. Useful for filtering package.json files.
Checks if provided string looks like a valid path
Lightweight solution to evalute if JSON match desired input
String.prototype.includes() but using localeCompare.
Check if a string is a valid E. 164 phone number
Get the line number for each regex match found in a string.
Powerful pattern matching for Javascript
Determine if a single match exists with an array of strings/numbers/regexes.
Watch files and transform their content
Strip ANSI colors, attributes from a string
Zero-runtime pattern matching
Find all matches for the text in electron app
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`
TypeScript implementation of the Aho-Corasick algorithm for efficient string matching
Censor or highlight words and other patterns intelligently.
Simplified version of https://github.com/jonschlinkert/parse-github-url
A Jest matcher for image comparisons based on pixelmatch. Can also be used with Mocha. Useful for visual regression testing.
Exhaustiveness checking in TypeScript
Match strings using bash. Does not work on windows, and does not read from the file system. This library requires that Bash 4.3 or higher is installed and is mostly used for checking parity in unit tests.
Like window.matchMedia() but for HTML elements
Express middleware for matching requests to a pattern
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
array fuzzy match
Supersonic reverse matching engine
Object properties matcher for Chai, contained arrays must contain identical objects in order
Aho–Corasick string matching algorithm
JavaScript SDK for the Sajari search API
Finds degree of similarity between strings, based on Dice's Coefficient.
Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.
Simply sort by similarity, starring Levenshtein via leven
Javascript library to check if 1st json is equal by the 2nd json
Express middleware to return hard-coded response for requests with url matching specified pattern
Asynchronous String.prototype.replace, sequential or parallel
The simplest and fastest glob method implementation.
A React component for finding matches within a split string.
Text diff algorithm based on 'An O(NP) Sequence Comparison Algorithm' from Sun Wu, Udi Manber and Gene Myers
Javascript port of PHP's match() control structure.
A nodejs library for phonetic string matching which exposes implementation of phonetic algorithms like soundex, metaphone and double-metaphone algorithms.
Check, does a plain object (AST/JSON) has any unique keys, not present in a reference object (another AST/JSON)
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Easy pattern match and replace text.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A small, flow-covered, zero-dependency package to work with wildcard (*) values by matching, searching, and filtering values that match a given wildcard pattern. (Works in Browser)
Simple tagged unions
Merge JSON with indicators such as @override, @match, @delete and @insert to tell the processor how to merge the files.
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.
Declarative arguments-resolver
A set of JavaScript array helper functions: position, contains, match, exclude, find, update, replace, move, swap, first, last, unique.
🏄 get blocks of balanced pairs, eg: {} \<a>\</a> or code fences ```
Multiline code search for every language. Structural code search for JavaScript, TypeScript, HTML and CSS
A chai plugin that adds .matchWildcard
s-expression match patterns for Mozilla Parser AST
Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.
React to media query changes in your Vue 3 application (useful for adaptive design).