statuses
npmv2.0.2HTTP status utility
Adopt with care
statuses is usable, with caveats. Last published 460 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 460 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 12 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 4 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 statuses 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.8
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the statuses README.
var status = require('statuses')statuses 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 |
|---|---|---|---|---|
| statusesthis page | 0 | 6 | MIT | 1 year ago |
| content-type | 191.4M | 6 | MIT | 1 day ago |
| negotiator | 183.3M | 2 | MIT | 1 day ago |
| node-fetch | 172.9M | 9 | MIT | 1 day ago |
| undici | 158.5M | 15 | MIT | 1 day ago |
| http-errors | 149.4M | 7 | MIT | 1 day ago |
Dependencies
Declared by statuses v2.0.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (12)
Used by
Popular packages that depend on statuses.
Create HTTP error objects
Node.js final http responder
Better streaming static file server with Range and conditional-GET support
Fast, unopinionated, minimalist web framework
Koa web app framework
Seamless REST/GraphQL API mocking library for browser and Node.js.
Relationship graph
Dependencies (left) and dependents (right) of statuses.
Frequently installed together
An AST-based pattern checker for JavaScript.
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Execute a callback when a request closes, finishes, or errors
Escape string for use in HTML
The ultimate javascript content-type utility.
Create HTTP error objects
parse a url with memoization
HTTP response freshness testing
Lightweight debugging utility for Node.js and the browser
Create and parse HTTP Content-Type header
Infer the content-type of a request.
Deprecate all the things
Release history
1 release in the last two years, typically about 158 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.2latest | 1 year ago | 12 KB | MIT |
| 2.0.1 | 5 years ago | 12 KB | MIT |
| 2.0.0 | 6 years ago | 11 KB | MIT |
| 1.5.0 | 8 years ago | 11 KB | MIT |
| 1.4.0 | 9 years ago | — | MIT |
| 1.3.1 | 9 years ago | — | MIT |
| 1.3.0 | 10 years ago | — | MIT |
| 1.2.1 | 11 years ago | — | MIT |
| 1.2.0 | 12 years ago | — | MIT |
| 1.1.1 | 12 years ago | — | MIT |
| 1.1.0 | 12 years ago | — | MIT |
| 1.0.4 | 12 years ago | — | MIT |
| 1.0.3 | 12 years ago | — | MIT |
| 1.0.2 | 12 years ago | — | MIT |
| 1.0.1 | 12 years ago | — | MIT |
Overview
statuses is an npm package that hTTP status utility. It has 6 known dependents in the graph. The latest version is 2.0.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need hTTP status utility 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.
Maintainers
Frequently asked questions
Should I use statuses?
statuses is usable, with caveats. Last published 460 days ago.
How do I install statuses?
Run `npm install statuses` to add statuses to your npm project.
What license is statuses released under?
statuses is distributed under the MIT license.
How popular is statuses?
npm does not publish download counts. Within PackageGraph's crawl, 6 known packages depend on statuses.
Is statuses still maintained?
The most recent release of statuses (v2.0.2) was published 1 year ago.
Does statuses run install scripts?
No. statuses does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.