chai-deep-match
Extends Chai with an assertion for deeply matching objects (i.e. subset equality checking)
Found 2563 results for match percentage
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
Validates password according to flexible and intuitive specifications
Use the @extend at-rule and functional selectors in CSS
A light assertion library built with JSON APIs in mind.
utc date helpers
Match a pattern within a stream
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
Match filepath is validated, or exclude filepath that don't need.
resolve package root and package.json paths , work on node 17 too
Optimized and powerful regexes for JavaScript
Ukkonens approximate string matching algorithm for finding edit distance similar to Levenshtein
This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.
A library implementing different string similarity
An absurdly small glob matcher that packs a punch.
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
Convert Gitignore to Glob patterns
Quickly parse & match URLs
Human-friendly replacements.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Replace matches in a Buffer
A collection of regular expressions to match color syntax substrings from a text
Bash-powered globbing for node.js
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.
Utilities for working with match patterns.
Create a new object filtered to have only properties for which the callback returns true.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A simple function that conforms npm package version matching behavior.
Match substrings on the left or right of a given index, ignoring whitespace
Port of diff-match-patch to TypeScript.
Utilities for IPv4/IPv6 ranges/subnets/masks parsing/matching, string representations, ...
A function to extract any colors from a string
Regular expression for matching email addresses
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.
Tool to convert the patterns and globs of your WebExtension manifest to regex
A tool to enable the checking, inserting and removal of licenses
React spreadsheet import for xlsx and csv files with column matching and validation
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Replace text patterns with applause.
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
An extremely fast and lightweight glob-matching library with advanced features
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
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
Match the case of `value` to that of `base`
Regex for matching dot-directories, like `.git/`
Replace text patterns with applause.
Human-friendly replacements.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
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.
Check if an element matches a given selector
Replace matching strings and regexes in files
A regular expression that only matches a valid Github username
Browser extension URL pattern matching
Replace text patterns with applause.
`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.
Find files or directories by walking up parent directories.
Match mqtt formatted topic strings to strings
A regex to match the :emoji: snippets in a string.
[![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 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
assert + matchers <3
Keep your package.json version requirements satisfied
Create a matching function from a glob pattern, regex, string, array, object or function.
A module for testing URLs against Chrome and Firefox match patterns.
murl is fast url pattern matching and replacing
Pattern match for NLCST.
Filter the keys of an object using glob patterns.
A node-red node to match messages by property values.
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.
Filter an object values using glob patterns or with a `callback` function returns true.
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.
fast-find-in-files recursively searches sub-directories for needle matches
Create pattern based AST matcher function
Checks if one input matches another
A regex for matching punycode.
[![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.
Simplest way to create match memory games.
A collection of string matching algorithms built with React Select in mind
Match a string against a list of patterns
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
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
Human friendly file system utilities for Node.js
replace strings that match a particular pattern with a React Component, recursively
Use CSS selectors to match nodes in a custom object tree
Regular expresson for matching dotfiles.
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
支持多音字, 繁体字,首字母缩写的拼音搜索引擎
A plugin to scan a file for a string or expression
Replace multiple substrings in a string in turn
Count the words in a string. Support for english, CJK and Cyrillic.
Find a file by walking up parent directories
Match the words in a string. Support for english, CJK and Cyrillic.
Regular expression for matching non-ASCII characters
Array of RegExp.prototype.exec results
Snapdragon plugin that adds a capture method to the parser instance.
Helper functions to verify an AST structure
A mongoose plugin that casts $match at aggregation pipelines whenever possible
Fast fuzzy string matching with scoring and matched ranges
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.
Observable-based glob
Simple JavaScript plugin to make different elements the same height.
Match a MQTT Topic against Wildcards
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
Regular expression for matching the parts of glob pattern.
Event emitter for watching text streams with regex patterns
Find the root directory of a `git` repository
Load plugins for gulp, grunt, assemble, verb any node.js app that needs to load plugins from node_modules or local folders.
Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.
Search files with glob pattern and create VFile objects from them
Utilities for JavaScript Iterable and AsyncIterable
Regular expression which matches a string with no 4-byte characters
A Day.js plugin for matching and generating recurring dates.
Semver matching plugin for AJV
Easily found out if an ES6 Iterator match what you expected
Affine transformation estimator e.g. for multi-touch gestures and calibration
No dependencies, Light weight, Makes elements equal height.
Search files with glob pattern and read them, Observable way
A JavaScript package to return captured groups of a regular expression as an object.
Replace text patterns with a given replacement.
Regular expression to match a semantic version string.
Validate options object
Strip a url to only match the `pathname`.
> zero dependencies, ~1kb render prop wrapper of window.matchMedia
Regular expression for matching DOIs
Addon to node_redis for atomic deletes using wildcards in keys
RegExp for finding an RFC4122 compliant UUID in a string.
A safer regex match.
Tiny http routing helper
Filter an object using glob patterns and dot notation.
Transform a string with an array of replacement patterns.
Check if an element matches a given selector
Powerful pattern matching for Javascript
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.
Get the line number for each regex match found in a string.
Check if a string is a valid E. 164 phone number
Determine if a single match exists with an array of strings/numbers/regexes.
Strip ANSI colors, attributes from a string
Watch files and transform their content
TypeScript implementation of the Aho-Corasick algorithm for efficient string matching
Zero-runtime pattern matching
Simplified version of https://github.com/jonschlinkert/parse-github-url
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.
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`
A Jest matcher for image comparisons based on pixelmatch. Can also be used with Mocha. Useful for visual regression testing.
Exhaustiveness checking in TypeScript
Censor or highlight words and other patterns intelligently.
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.
Like window.matchMedia() but for HTML elements
Supersonic reverse matching engine
array fuzzy match
Aho–Corasick string matching algorithm
Object properties matcher for Chai, contained arrays must contain identical objects in order
Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.
JavaScript SDK for the Sajari search API
Finds degree of similarity between strings, based on Dice's Coefficient.
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.
Text diff algorithm based on 'An O(NP) Sequence Comparison Algorithm' from Sun Wu, Udi Manber and Gene Myers
s-expression match patterns for Mozilla Parser AST
A React component for finding matches within a split string.
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)
Javascript port of PHP's match() control structure.
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.
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)
Easy pattern match and replace text.
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.
Multiline code search for every language. Structural code search for JavaScript, TypeScript, HTML and CSS
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 ```
React to media query changes in your Vue 3 application (useful for adaptive design).
A chai plugin that adds .matchWildcard
Parse function to object with same key names as arguments names and values that you pass in same order.
Yet another javascript fuzzy matching library
Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.
React spreadsheet import for xlsx and csv files with column matching and validation
Stable and lovely router for [koa][], using [path-match][]. Foundation for building powerful, flexible and RESTful APIs easily.
Runtime validation for TypeScript
Library for generating, parsing, and evaluating LDAP filters
Find a file by walking down parent directories.
@reliverse/rematch is a high-performance minimal glob matcher, with micromatch-level power, zepto-level size, and reliverse-grade dx.
Find matching bracket in Js/Ts/Cs code (including string Template literals interpolation)
Match a string using an SQL pattern.
Replace text patterns with applause.
Filter all matching or non-matching media queries
Find object recursively by query
A simple url matching utility for micro.
A TypeScript tool to compare array quickly and you can do something when matching
Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.
Super simple URL match patterns library
Replace text patterns with applause.
A pure javascript implementation of the Stable Matching Algorithm.
BemCell parser
Regular expression for matching mapcodes
Functions for fuzzy matching and items filtering
A find and replace utility, using Frep. Replace strings or arrays of strings with an array of replacement patterns.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Lightweight library that finds matches of an image within another image
A simple matcher with regex cache.
Calculate string distance using Damerau–Levenshtein method.
Regular expression for matching IP:PORT addresses
Korean Hangul Utils
Create custom ESLint rules based on code samples. Utilizing CodeQue - structural code search engine.
MongoDB query compatible object match
Web Component Recipe Helpers
Finds degree of similarity between strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
Powerful string matching insensitive to diacritics, special characters, symbols and case
helper for text highlighting
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Get files from a configuration using globule.
A set of misc utilties I find myself repeatedly re-writing between projects.