balanced-match
npmv4.0.4TypeScriptMatch balanced character pairs, like "{" and "}"
Overview
balanced-match is an npm package that match balanced character pairs, like "{" and "}". The latest version is 4.0.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need match balanced character pairs, like "{" and "}" 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 (MIT).
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 balanced-match.
Dependencies
Dev (7)
Used by
Popular packages that depend on balanced-match.
Alternatives to balanced-match
Regular expression for matching a shebang line
Matches strings against configurable strings, globs, regular expressions, and/or functions
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.
Get the first fulfilled promise that satisfies the provided testing function
Express style path to RegExp utility
A querystring parser that supports nesting and arrays, with a depth limit
Get details about the current Continuous Integration environment
Utility to parse a string bytes to bytes and vice-versa
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Parses set-cookie headers into objects
Functions for dealing with a PostgreSQL connection string
Frequently installed together
Version history
| Version | Published | License |
|---|---|---|
| 4.0.4latest | 4 months ago | MIT |
| 4.0.3 | 5 months ago | MIT |
| 4.0.2 | 5 months ago | MIT |
| 3.0.1 | 2 years ago | MIT |
| 3.0.0 | 2 years ago | MIT |
| 2.0.0 | 5 years ago | MIT |
| 1.0.2 | 5 years ago | MIT |
| 1.0.1 | 5 years ago | MIT |
| 1.0.0 | 9 years ago | MIT |
| 0.4.2 | 10 years ago | MIT |
| 0.4.1 | 10 years ago | MIT |
| 0.4.0 | 10 years ago | MIT |
| 0.3.0 | 10 years ago | MIT |
| 0.2.1 | 10 years ago | MIT |
| 0.2.0 | 11 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
| 0.0.1 | 12 years ago | MIT |
| 0.0.0 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install balanced-match?
Run `npm install balanced-match` to add balanced-match to your npm project.
What license is balanced-match released under?
balanced-match is distributed under the MIT license.
How popular is balanced-match?
balanced-match has approximately 0 downloads per week and 1 known dependent packages.