Skip to content
JS
Package

glob-to-regex.js

Transform GLOB patterns to JavaScript regular expressions for fast file path matching.

v1.3.1, 13 Sept 2026Apache-2.0CommonJSTypes: BundledFiles and file systems
$ npm install glob-to-regex.js

Key numbers

As of 25 Sept 2026
Weekly downloads
8.9m
+377% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
11 days ago
v1.3.1
GitHub stars
2
1 forks
Open issues / PRs
1 / 2
Contributors
-
Commits, last 52 weeks
12

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 12.6m (18 Aug 2026)Low 1.9m (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

8,934,925 downloads last week, 44,170,689 in the last month. The 12-month change of +377% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
45 in total
Latest version
1.3.1, 13 Sept 202611 days ago
First published
24 Aug 2025
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
12
Dependents on npm
14

Major versions

  1. v1 first release 1.0.1, 24 Aug 2025

Recent releases

VersionPublished
1.3.113 Sept 2026
1.3.013 Sept 2026
1.2.03 Oct 2025
1.1.02 Oct 2025
1.0.124 Aug 2025
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10.0
Runtimes
-
Unpacked size (npm)
26 kB
Dependencies (0)
None
Peer dependencies (1)
tslib
npm install glob-to-regex.js
  • jsDelivrhttps://cdn.jsdelivr.net/npm/glob-to-regex.js@1.3.1/
  • unpkghttps://unpkg.com/glob-to-regex.js@1.3.1/
  • esm.shhttps://esm.sh/glob-to-regex.js@1.3.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.