anymatch
npmv3.1.3TypeScriptMatches strings against configurable strings, globs, regular expressions, and/or functions
Overview
anymatch is an npm package that matches strings against configurable strings, globs, regular expressions, and/or functions. The latest version is 3.1.3, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need matches strings against configurable strings, globs, regular expressions, and/or functions and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (ISC).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of anymatch.
Dependencies
Runtime (2)
Dev (2)
Used by
Popular packages that depend on anymatch.
Alternatives to anymatch
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.
Escape RegExp special characters
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Bindings for the Watchman file watching service
Regular expression for matching a shebang line
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
ES6 spec-compliant RegExp.prototype.flags shim.
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.
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Minimal and efficient cross-platform file watching library
Frequently installed together
A drop-in replacement for fs, making various improvements.
No description provided.
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.
TypeScript definitions for node
No description provided.
No description provided.
Convert Windows backslash paths to slash paths
No description provided.
Bindings for the Watchman file watching service
A simple directory tree walker.
Version history
| Version | Published | License |
|---|---|---|
| 3.1.3latest | 3 years ago | ISC |
| 3.1.2 | 5 years ago | ISC |
| 3.1.1 | 6 years ago | ISC |
| 3.1.0 | 6 years ago | ISC |
| 3.0.3 | 7 years ago | ISC |
| 3.0.2 | 7 years ago | ISC |
| 3.0.1 | 7 years ago | ISC |
| 3.0.0 | 7 years ago | ISC |
| 2.0.0 | 8 years ago | ISC |
| 1.3.2 | 9 years ago | ISC |
| 1.3.0 | 11 years ago | ISC |
| 1.2.1 | 11 years ago | ISC |
| 1.2.0 | 11 years ago | ISC |
| 1.1.0 | 11 years ago | ISC |
| 1.0.0 | 11 years ago | ISC |
| 0.2.0 | 12 years ago | MIT |
| 0.1.1 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install anymatch?
Run `npm install anymatch` to add anymatch to your npm project.
What license is anymatch released under?
anymatch is distributed under the ISC license.
How popular is anymatch?
anymatch has approximately 0 downloads per week and 1 known dependent packages.