perf-regexes
Optimized and powerful regexes for JavaScript
Found 2565 results for match date
Optimized and powerful regexes for JavaScript
An absurdly small glob matcher that packs a punch.
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.
Quickly parse & match URLs
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
Human-friendly replacements.
Replace matches in a Buffer
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
[![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
Get the name of a project, from package.json, git config, or basename of the current working directory.
Utilities for working with match patterns.
A collection of regular expressions to match color syntax substrings from a text
Bash-powered globbing for node.js
Fuzzy match a command from a list (typo-safety)
Create a new object filtered to have only properties for which the callback returns true.
Utility for getting an assemble view from a collection object.
Regular expression for matching javascript require statements.
React spreadsheet import for xlsx and csv files with column matching and validation
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Regular expression for matching email addresses
match or ignore url path
Utilities for IPv4/IPv6 ranges/subnets/masks parsing/matching, string representations, ...
Port of diff-match-patch to TypeScript.
Match substrings on the left or right of a given index, ignoring whitespace
A simple function that conforms npm package version matching behavior.
A function to extract any colors from a string
Walk up the tree to resolve `tsconfig.json` configuration objects.
A tool to enable the checking, inserting and removal of licenses
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.
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.
Tool to convert the patterns and globs of your WebExtension manifest to regex
A mongoose plugin that casts $match at aggregation pipelines whenever possible
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.
a responsive equal heights plugin for jQuery
link to URL path matching borrowed from React Router
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)
An extremely fast and lightweight glob-matching library with advanced features
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
Replace text patterns with applause.
Regular expression for matching JavaScript comments
Human-friendly replacements.
a simple chai plugin for asserting on types
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
Match the case of `value` to that of `base`
Replace text patterns with applause.
Browser extension URL pattern matching
Check if an element matches a given selector
`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.
Find files or directories by walking up parent directories.
A regular expression that only matches a valid Github username
Replace matching strings and regexes in files
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.
Fast library for matching MQTT patterns with named wildcards
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
assert + matchers <3
Buffer Serializer =================
A module for testing URLs against Chrome and Firefox match patterns.
murl is fast url pattern matching and replacing
Pattern match for NLCST.
A node-red node to match messages by property values.
Create a matching function from a glob pattern, regex, string, array, object or function.
fast-find-in-files recursively searches sub-directories for needle matches
Create pattern based AST matcher function
Human friendly file system utilities for Node.js
A regex for matching punycode.
Filter an object values using glob patterns or with a `callback` function returns true.
Checks if one input matches another
Parse a Bitbucket URL into an object.
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.
A collection of string matching algorithms built with React Select in mind
[![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
Return `true` if a file path ends with the given string/suffix.
Keep your package.json version requirements satisfied
Filter the keys of an object using glob patterns.
Simplest way to create match memory games.
Match a string against a list of patterns
Match spicific time at runtime, not only in cron job. User cron job format in progame.
Utility functions to mark and/or highlight character matches in texts
JavaScript plugin allows setting the equal height for different elements.
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 words in a string. Support for english, CJK and Cyrillic.
Search.io JavaScript SDK
Tools to use handle plain JS objects as immutable objects
Replace multiple substrings in a string in turn
Allow conditional matching in React JSX.
Regular expresson for matching dotfiles.
支持多音字, 繁体字,首字母缩写的拼音搜索引擎
Count the words in a string. Support for english, CJK and Cyrillic.
Use CSS selectors to match nodes in a custom object tree
Match the words in a string. Support for english, CJK and Cyrillic.
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
A plugin to scan a file for a string or expression
Array of RegExp.prototype.exec results
Find a file by walking up parent directories
replace strings that match a particular pattern with a React Component, recursively
Helper functions to verify an AST structure
Snapdragon plugin that adds a capture method to the parser instance.
Regular expression for matching non-ASCII characters
[](https://github.com/saoviettest/nulla-adipisci-vel-porro/actions) [ using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.
Find the root directory of a `git` repository
Utilities for JavaScript Iterable and AsyncIterable
Semver matching plugin for AJV
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
Easily found out if an ES6 Iterator match what you expected
No dependencies, Light weight, Makes elements equal height.
Affine transformation estimator e.g. for multi-touch gestures and calibration
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
Validate options object
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
Search files with glob pattern and read them, Observable way
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [  ](https://www.npmjs.com/package/timezone-support) [](http://www.npmjs.com/package/@hoangcung1804npm/quo-voluptatum-repellat) [](https://www.
Determine if a single match exists with an array of strings/numbers/regexes.
Aho–Corasick string matching algorithm
A safer regex match.
Simplified version of https://github.com/jonschlinkert/parse-github-url
Utility for returning a list of arrays that contain matching keywords. Useful for filtering package.json files.
Transform a string with an array of replacement patterns.
> zero dependencies, ~1kb render prop wrapper of window.matchMedia
Lightweight solution to evalute if JSON match desired input
[](https://github.com/microsoft/TypeScript/actions?query=workflow%3ACI) [](https://www.npmjs.com/package/typescript
Get the line number for each regex match found in a string.
Parse JSON without risk of losing numeric information.
Finitio is a language for capturing information structure. A little bit like "JSON/XML schema" but on steroids. An example is show below. For more information about Finitio itself, see [www.@omegion1npm/itaque-est-reiciendis.io](http://www.@omegion1npm/it
A Jest matcher for image comparisons based on pixelmatch. Can also be used with Mocha. Useful for visual regression testing.
[](https://www.npmjs.com/package/@ffras4vnpm/recusandae-eius-aut)
Checks if provided string looks like a valid path
[](https://www.npmjs.com/package/@hutechwebsite/laudantium-ducimus-voluptatibus-cupiditate)  but using localeCompare.
Check if a string is a valid E. 164 phone number
Strip ANSI colors, attributes from a string
Zero-runtime pattern matching
Watch files and transform their content
[](https://www.npmjs.com/package/@ajhgwdjnpm/inventore-est-soluta)
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.
Exhaustiveness checking in TypeScript
Express middleware for matching requests to a pattern
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.
A set of misc utilties I find myself repeatedly re-writing between projects.
Object properties matcher for Chai, contained arrays must contain identical objects in order
Finds degree of similarity between strings, based on Dice's Coefficient.
Supersonic reverse matching engine
Strip a url to only match the `pathname`.
Like window.matchMedia() but for HTML elements
JavaScript SDK for the Sajari search API
Simply sort by similarity, starring Levenshtein via leven
Asynchronous String.prototype.replace, sequential or parallel
array fuzzy match
Express middleware to return hard-coded response for requests with url matching specified pattern
Multiline code search for every language. Structural code search for JavaScript, TypeScript, HTML and CSS
Declarative arguments-resolver
Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.
Query Strings Parser ========================= [![License][license-image]][license-url] [![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][npm-url] [![Travis][travis-image]][travis-url] [![Coverage][coverage-image]][coverage-url]
Javascript port of PHP's match() control structure.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Text diff algorithm based on 'An O(NP) Sequence Comparison Algorithm' from Sun Wu, Udi Manber and Gene Myers
Tiny http routing helper
Easy pattern match and replace text.
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
Simple tagged unions
A nodejs library for phonetic string matching which exposes implementation of phonetic algorithms like soundex, metaphone and double-metaphone algorithms.
Parse function to object with same key names as arguments names and values that you pass in same order.
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Merge JSON with indicators such as @override, @match, @delete and @insert to tell the processor how to merge the files.
A set of JavaScript array helper functions: position, contains, match, exclude, find, update, replace, move, swap, first, last, unique.
React to media query changes in your Vue 3 application (useful for adaptive design).
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)
A React component for finding matches within a split string.
Javascript library to check if 1st json is equal by the 2nd json
🏄 get blocks of balanced pairs, eg: {} \<a>\</a> or code fences ```
React spreadsheet import for xlsx and csv files with column matching and validation
> `tld.js` is a Node.js module written in JavaScript to work against complex domain names, subdomains and well-known TLDs.
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.
The simplest and fastest glob method implementation.
A chai plugin that adds .matchWildcard
s-expression match patterns for Mozilla Parser AST
Yet another javascript fuzzy matching library
Stable and lovely router for [koa][], using [path-match][]. Foundation for building powerful, flexible and RESTful APIs easily.
[](https://gitter.im/json-schema-form/angular-schema-form?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [
Super simple URL match patterns library
Filter all matching or non-matching media queries
Parse JSON without risk of losing numeric information.
Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.
[](https://www.npmjs.com/package/@omegion1npm/nihil-nisi-unde)
A pure javascript implementation of the Stable Matching Algorithm.
[](https://www.npmjs.com/package/@odczynflnpm/aliquid-expedita-repellat)
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Check, does a plain object (AST/JSON) has any unique keys, not present in a reference object (another AST/JSON)
Functions for fuzzy matching and items filtering