Skip to content
JS
Package

balanced-match

Match balanced character pairs, like "{" and "}"

v4.0.4, 22 Feb 2026MITESM + CommonJSTypes: Bundled
$ npm install balanced-match

Key numbers

As of 25 Sept 2026
Weekly downloads
294.5m
+286% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 months ago
v4.0.4
GitHub stars
132
45 forks
Open issues / PRs
5 / 4
Contributors
17
Commits, last 52 weeks
26

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300m400mSept 2025Mar 2026Sept 2026High 389.8m (25 Aug 2026)Low 56.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

294,513,049 downloads last week, 1,310,510,946 in the last month. The 12-month change of +286% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
318 in total
Latest version
4.0.4, 22 Feb 20267 months ago
First published
13 Oct 2013
Last push to GitHub
5 Aug 202650 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
4
Commits, last 52 weeks
26
Dependents on npm
2,812

Major versions

  1. v4 first release 4.0.2, 9 Feb 2026
  2. v3 first release 3.0.0, 5 Oct 2023
  3. v2 first release 2.0.0, 6 Apr 2021
  4. v1 first release 1.0.0, 12 Jun 2017
  5. v0 first release 0.0.0, 13 Oct 2013

Recent releases

VersionPublished
4.0.422 Feb 2026
4.0.318 Feb 2026
4.0.29 Feb 2026
3.0.17 Oct 2023
3.0.05 Oct 2023
2.0.06 Apr 2021
1.0.26 Apr 2021
1.0.16 Apr 2021
1.0.012 Jun 2017
0.4.218 Jul 2016
0.4.11 May 2016
0.4.07 Apr 2016
0.3.028 Nov 2015
0.2.122 Oct 2015
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
18 || 20 || >=22
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (0)
None
npm install balanced-match
  • jsDelivrhttps://cdn.jsdelivr.net/npm/balanced-match@4.0.4/
  • unpkghttps://unpkg.com/balanced-match@4.0.4/
  • esm.shhttps://esm.sh/balanced-match@4.0.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.