Skip to content
JS
Package

safe-regex-test

Give a regex, get a robust predicate function that tests it against a string.

v1.1.0, 12 Dec 2024MITCommonJSTypes: Bundled
$ npm install safe-regex-test

Key numbers

As of 25 Sept 2026
Weekly downloads
71.3m
+65% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v1.1.0
GitHub stars
7
3 forks
Open issues / PRs
1 / 0
Contributors
3
Commits, last 52 weeks
10

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 96.7m (25 Aug 2026)Low 28.6m (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.

71,264,137 downloads last week, 330,875,085 in the last month. The 12-month change of +65% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
05 in total
Latest version
1.1.0, 12 Dec 20241 year ago
First published
22 Sept 2022
Last push to GitHub
16 Jun 2026100 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
10
Dependents on npm
915

Major versions

  1. v1 first release 1.0.0, 22 Sept 2022

Recent releases

VersionPublished
1.1.012 Dec 2024
1.0.36 Feb 2024
1.0.211 Jan 2024
1.0.19 Jan 2024
1.0.022 Sept 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (3)
is-regexes-errorscall-bound
npm install safe-regex-test
  • jsDelivrhttps://cdn.jsdelivr.net/npm/safe-regex-test@1.1.0/
  • unpkghttps://unpkg.com/safe-regex-test@1.1.0/
  • esm.shhttps://esm.sh/safe-regex-test@1.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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