fresh
npmv0.5.2HTTP response freshness testing
Overview
fresh is an npm package that hTTP response freshness testing. It is extremely widely used, with about 110.1M downloads per week and 2 known dependents in the graph. The latest version is 0.5.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need hTTP response freshness testing 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 (110.1M 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 fresh.
Dependencies
Dev (11)
Used by
Popular packages that depend on fresh.
Alternatives to fresh
HTTP status utility
Create HTTP error objects
Create and parse HTTP Content-Type header
Create and parse Content-Disposition header
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
LRU and FIFO caches for Client or Server
Koa web app framework
Frequently installed together
The ultimate javascript content-type utility.
HTTP status utility
Create HTTP error objects
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
Lightweight debugging utility for Node.js and the browser
Create and parse HTTP Content-Type header
An AST-based pattern checker for JavaScript.
Higher-level content negotiation
Infer the content-type of a request.
Create and parse Content-Disposition header
Version history
| Version | Published | License |
|---|---|---|
| 2.0.0 | 1 year ago | MIT |
| 1.0.0 | 1 year ago | MIT |
| 0.5.2latest | 8 years ago | MIT |
| 0.5.1 | 8 years ago | MIT |
| 0.5.0 | 9 years ago | MIT |
| 0.4.0 | 9 years ago | MIT |
| 0.3.0 | 11 years ago | MIT |
| 0.2.4 | 12 years ago | MIT |
| 0.2.3 | 12 years ago | MIT |
| 0.2.2 | 12 years ago | MIT |
| 0.2.1 | 12 years ago | MIT |
| 0.2.0 | 13 years ago | MIT |
| 0.1.0 | 14 years ago | MIT |
| 0.0.1 | 14 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install fresh?
Run `npm install fresh` to add fresh to your npm project.
What license is fresh released under?
fresh is distributed under the MIT license.
How popular is fresh?
fresh has approximately 110,072,700 downloads per week and 2 known dependent packages.