Package · npm

safe-regex-test

npm · v1.1.0 · MIT

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

Install

npm install safe-regex-test

Adoption

Downloads (30 days)
376.9M
Observeddownloads / 30 days
Popularity
Top 10% on npm
Derived98th percentile within npm
Dependents
915
Observedpackages that depend on it
Maintenance
0.12
DerivedRelease cadence and recency, 0 to 1
Releases per year
2.2
5 versions over its life

Growth by period

Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.

7 days
Collectinghistory
Collecting
30 days
−1.4% · 30d
Derived−5.5M downloads / 30 days, SEP 24 → OCT 24
90 days
+9.5% · 90d
Derived+32.8M downloads / 30 days, JUL 26 → OCT 24
1 year
+83.1% · 1y
Derived+171.1M downloads / 30 days, NOV 3 → OCT 24

Adoption history

Adoption historydownloads / 30 days · 13 observations

SEP 24, 2026: 382,418,312 downloads / 30 daysSEP 25, 2026: 382,959,926 downloads / 30 daysSEP 26, 2026: 375,350,390 downloads / 30 daysSEP 27, 2026: 369,870,643 downloads / 30 daysSEP 28, 2026: 382,024,667 downloads / 30 daysSEP 29, 2026: 394,448,855 downloads / 30 daysSEP 30, 2026: 398,826,447 downloads / 30 daysOCT 1, 2026: 401,686,019 downloads / 30 daysOCT 2, 2026: 400,918,046 downloads / 30 daysOCT 3, 2026: 411,018,482 downloads / 30 daysOCT 4, 2026: 405,255,251 downloads / 30 daysOCT 5, 2026: 405,255,251 downloads / 30 daysOCT 24, 2026: 376,918,373 downloads / 30 days
Table of observations (13)
Daydownloads / 30 daysDependents
OCT 24, 2026376,918,373915
OCT 5, 2026405,255,251Not observed
OCT 4, 2026405,255,251Not observed
OCT 3, 2026411,018,482Not observed
OCT 2, 2026400,918,046Not observed
OCT 1, 2026401,686,019Not observed
SEP 30, 2026398,826,447Not observed
SEP 29, 2026394,448,855Not observed
SEP 28, 2026382,024,667Not observed
SEP 27, 2026369,870,643Not observed
SEP 26, 2026375,350,390Not observed
SEP 25, 2026382,959,926Not observed
SEP 24, 2026382,418,312Not observed

Facts from the registry

Latest version
v1.1.0
5 versions
First published
SEP 22, 2022
Last release
DEC 12, 2024
23mo ago
Licence
MIT

Repository

Not in the Crest catalog

ljharb/safe-regex-test (GitHub, opens in a new tab)

The catalog tracks GitHub repositories with more than 500 stars; this one has no Crest page, so its figures are not shown here.

Dependencies latest version · v1.1.0

Runtime 3

  • call-bound^1.0.2
  • es-errors^1.3.0
  • is-regex^1.2.1

Related news

No published news event mentions this package or its repository yet.