range-parser
npmv1.3.0Range header field string parser
Safe to adopt
Yes — range-parser scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 76 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 76 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 8.8 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 6 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding range-parser to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >= 0.6
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the range-parser README.
var parseRange = require('range-parser')range-parser vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| range-parserthis page | 0 | 2 | MIT | 2 months ago |
| commander | 451.1M | 11 | MIT | 1 day ago |
| postcss | 249.3M | 7 | MIT | 1 day ago |
| content-type | 191.4M | 6 | MIT | 1 day ago |
| negotiator | 183.3M | 2 | MIT | 1 day ago |
| yargs-parser | 178.8M | 2 | ISC | 1 day ago |
Dependencies
Declared by range-parser v1.3.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (10)
Used by
Popular packages that depend on range-parser.
Relationship graph
Dependencies (left) and dependents (right) of range-parser.
Frequently installed together
The ultimate javascript content-type utility.
Create HTTP error objects
An AST-based pattern checker for JavaScript.
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Create simple HTTP ETags
Execute a callback when a request closes, finishes, or errors
Lightweight debugging utility for Node.js and the browser
HTTP status utility
Escape string for use in HTML
HTTP response freshness testing
Create and parse HTTP Content-Type header
Node.js final http responder
Release history
1 release in the last two years, typically about 197 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.3.0latest | 2 months ago | 8.8 KB | MIT |
| 1.2.1 | 7 years ago | 8.3 KB | MIT |
| 1.2.0 | 10 years ago | — | MIT |
| 1.1.0 | 10 years ago | — | MIT |
| 1.0.3 | 11 years ago | — | MIT |
| 1.0.2 | 12 years ago | — | MIT |
| 1.0.1 | 12 years ago | — | MIT |
| 1.0.0 | 12 years ago | — | MIT |
| 0.0.4 | 14 years ago | — | MIT |
| 0.0.3 | 14 years ago | — | MIT |
| 0.0.2 | 14 years ago | — | MIT |
| 0.0.1 | 14 years ago | — | MIT |
Overview
range-parser is an npm package that range header field string parser. It has 2 known dependents in the graph. The latest version is 1.3.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need range header field string parser and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Funding
Frequently asked questions
Should I use range-parser?
Yes — range-parser scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 76 days ago.
How do I install range-parser?
Run `npm install range-parser` to add range-parser to your npm project.
What license is range-parser released under?
range-parser is distributed under the MIT license.
How popular is range-parser?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on range-parser.
Is range-parser still maintained?
The most recent release of range-parser (v1.3.0) was published 2 months ago.
Does range-parser run install scripts?
No. range-parser does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.