Skip to content
JS
Package

regex

Regex template tag with extended syntax, context-aware interpolation, and always-on best practices

v6.1.0, 9 Dec 2025MITESM + CommonJSTypes: Bundled
$ npm install regex

Key numbers

As of 25 Sept 2026
Weekly downloads
13.4m
+507% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
9 months ago
v6.1.0
GitHub stars
633
15 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
25

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 17.8m (25 Aug 2026)Low 1.9m (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.

13,426,708 downloads last week, 64,729,278 in the last month. The 12-month change of +507% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
129 in total
Latest version
6.1.0, 9 Dec 20259 months ago
First published
15 May 2013
Last push to GitHub
12 May 2026135 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
25
Dependents on npm
63

Major versions

  1. v6 first release 6.0.0, 29 Jan 2025
  2. v5 first release 5.0.0, 15 Nov 2024
  3. v4 first release 4.0.0, 6 Aug 2024
  4. v3 first release 3.0.0, 21 Jul 2024
  5. v2 first release 2.0.0, 15 Jun 2024
  6. v1 first release 1.0.0, 5 Jun 2024
  7. v0 first release 0.1.0, 15 May 2013

Recent releases

VersionPublished
6.1.09 Dec 2025
6.0.131 Jan 2025
6.0.029 Jan 2025
5.1.126 Dec 2024
5.1.026 Dec 2024
5.0.218 Nov 2024
5.0.117 Nov 2024
5.0.015 Nov 2024
4.4.01 Nov 2024
4.3.32 Oct 2024
4.3.27 Sept 2024
4.3.16 Sept 2024
4.3.06 Sept 2024
4.2.15 Sept 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
547 kB
Dependencies (1)
regex-utilities
npm install regex

CDN

jsDelivr: 230.9k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/regex@6.1.0/
  • unpkghttps://unpkg.com/regex@6.1.0/
  • esm.shhttps://esm.sh/regex@6.1.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

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