vary
npmv1.1.2Manipulate the HTTP Vary header
Overview
vary is an npm package that manipulate the HTTP Vary header. It is extremely widely used, with about 89.5M downloads per week and 1 known dependents in the graph. The latest version is 1.1.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need manipulate the HTTP Vary header 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 (89.5M 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 vary.
Dependencies
Dev (12)
Used by
Popular packages that depend on vary.
Alternatives to vary
Create and parse HTTP Content-Type header
Create and parse Content-Disposition header
Create simple HTTP ETags
HTTP status utility
Create HTTP error objects
HTTP response freshness testing
Fast, unopinionated, minimalist web framework
Promise based HTTP client for the browser and node.js
Range header field string parser
Parse HTTP X-Forwarded-For header
Koa web app framework
HTTP content negotiation
Frequently installed together
Create HTTP error objects
An AST-based pattern checker for JavaScript.
The ultimate javascript content-type utility.
HTTP status utility
Create and parse HTTP Content-Type header
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Higher-level content negotiation
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 |
|---|---|---|
| 1.1.2latest | 8 years ago | MIT |
| 1.1.1 | 9 years ago | MIT |
| 1.1.0 | 10 years ago | MIT |
| 1.0.1 | 11 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
| 0.0.0 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install vary?
Run `npm install vary` to add vary to your npm project.
What license is vary released under?
vary is distributed under the MIT license.
How popular is vary?
vary has approximately 89,455,306 downloads per week and 1 known dependent packages.