to-regex-range 4.0.3
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
to-regex-range@4.0.3 was published on 2019-01-17. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=4.0.
All to-regex-range versions · Permanent reference to 4.0.3 · Latest release
Package specifications
| Version | 4.0.3 |
|---|---|
| License declaration | MIT |
| Published | 2019-01-17T20:53:36.504Z |
| Node.js requirement | >=4.0 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 21.34 KiB |
| Published file count | 4 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 173 |
| Repository forks | 23 |
Install to-regex-range 4.0.3
npm install to-regex-range@4.0.3 pnpm add to-regex-range@4.0.3 yarn add to-regex-range@4.0.3
Runtime dependencies
- is-number ^7.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- is-number@7.0.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 — Found 2/25 approved changesets -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 10/10 — security policy file detected |
Evidence and freshness
- https://registry.npmjs.org/to-regex-range/4.0.3 — retrieved 2026-10-30T23:09:46.266Z
- https://api.deps.dev/v3/systems/npm/packages/to-regex-range/versions/4.0.3 — retrieved 2026-10-30T23:09:46.732Z
- https://api.deps.dev/v3/systems/npm/packages/to-regex-range/versions/4.0.3:dependencies — retrieved 2026-10-30T23:09:46.756Z
- https://api.deps.dev/v3/projects/github.com%2Fmicromatch%2Fto-regex-range — retrieved 2026-10-30T05:25:35.569Z (stale snapshot; refresh pending)