accepts
npmv1.3.8Higher-level content negotiation
Overview
accepts is an npm package that higher-level content negotiation. It is extremely widely used, with about 117.8M downloads per week and 1 known dependents in the graph. The latest version is 1.3.8, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need higher-level content negotiation and value a battle-tested, widely-adopted 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
- Large, well-established user base (117.8M weekly downloads).
- 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.
Relationship graph
Dependencies (left) and dependents (right) of accepts.
Dependencies
Runtime (2)
Dev (10)
Used by
Popular packages that depend on accepts.
Fast, unopinionated, minimalist web framework
node.js realtime framework server
Koa web app framework
The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server
Alternatives to accepts
Frequently installed together
Lightweight debugging utility for Node.js and the browser
The ultimate javascript content-type utility.
HTTP server cookie parsing and serialization
HTTP status utility
Create HTTP error objects
Create and parse HTTP Content-Type header
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Infer the content-type of a request.
Create and parse Content-Disposition header
Execute a callback when a request closes, finishes, or errors
HTTP response freshness testing
Escape string for use in HTML
Version history
| Version | Published | License |
|---|---|---|
| 2.0.0 | 1 year ago | MIT |
| 1.3.8latest | 4 years ago | MIT |
| 1.3.7 | 7 years ago | MIT |
| 1.3.6 | 7 years ago | MIT |
| 1.3.5 | 8 years ago | MIT |
| 1.3.4 | 9 years ago | MIT |
| 1.3.3 | 10 years ago | MIT |
| 1.3.2 | 10 years ago | MIT |
| 1.3.1 | 10 years ago | MIT |
| 1.3.0 | 10 years ago | MIT |
| 1.2.13 | 11 years ago | MIT |
| 1.2.12 | 11 years ago | MIT |
| 1.2.11 | 11 years ago | MIT |
| 1.2.10 | 11 years ago | MIT |
| 1.2.9 | 11 years ago | MIT |
| 1.2.8 | 11 years ago | MIT |
| 1.2.7 | 11 years ago | MIT |
| 1.2.6 | 11 years ago | MIT |
| 1.2.5 | 11 years ago | MIT |
| 1.2.4 | 11 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install accepts?
Run `npm install accepts` to add accepts to your npm project.
What license is accepts released under?
accepts is distributed under the MIT license.
How popular is accepts?
accepts has approximately 117,823,256 downloads per week and 1 known dependent packages.