negotiator
npmv1.0.0HTTP content negotiation
Overview
negotiator is an npm package that hTTP content negotiation. The latest version is 1.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need hTTP content negotiation 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.
Relationship graph
Dependencies (left) and dependents (right) of negotiator.
Dependencies
Dev (4)
Used by
Popular packages that depend on negotiator.
Alternatives to negotiator
HTTP status utility
Create HTTP error objects
Create and parse HTTP Content-Type header
Higher-level content negotiation
Create and parse Content-Disposition header
HTTP response freshness testing
Fast, unopinionated, minimalist web framework
Promise based HTTP client for the browser and node.js
Range header field string parser
Manipulate the HTTP Vary header
Create simple HTTP ETags
Parse HTTP X-Forwarded-For header
Frequently installed together
Version history
| Version | Published | License |
|---|---|---|
| 0.6.4 | 1 year ago | MIT |
| 1.0.0latest | 1 year ago | MIT |
| 0.6.3 | 4 years ago | MIT |
| 0.6.2 | 7 years ago | MIT |
| 0.6.1 | 10 years ago | MIT |
| 0.6.0 | 10 years ago | MIT |
| 0.5.3 | 11 years ago | MIT |
| 0.5.2 | 11 years ago | MIT |
| 0.5.1 | 11 years ago | MIT |
| 0.5.0 | 11 years ago | MIT |
| 0.4.9 | 11 years ago | MIT |
| 0.4.8 | 11 years ago | MIT |
| 0.4.7 | 12 years ago | MIT |
| 0.4.6 | 12 years ago | MIT |
| 0.4.5 | 12 years ago | MIT |
| 0.4.4 | 12 years ago | MIT |
| 0.4.3 | 12 years ago | MIT |
| 0.4.2 | 12 years ago | MIT |
| 0.4.1 | 12 years ago | MIT |
| 0.4.0 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install negotiator?
Run `npm install negotiator` to add negotiator to your npm project.
What license is negotiator released under?
negotiator is distributed under the MIT license.
How popular is negotiator?
negotiator has approximately 0 downloads per week and 1 known dependent packages.