etag
npmv1.8.1Create simple HTTP ETags
Overview
etag is an npm package that create simple HTTP ETags. It is extremely widely used, with about 89M downloads per week and 2 known dependents in the graph. The latest version is 1.8.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need create simple HTTP ETags 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 (89M 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 etag.
Dependencies
Dev (13)
Used by
Popular packages that depend on etag.
Native-ESM powered web dev build tool
Better streaming static file server with Range and conditional-GET support
Fast, unopinionated, minimalist web framework
Runtime typescript and ESM support for Node.js
Alternatives to etag
Create and parse HTTP Content-Type header
Create and parse Content-Disposition header
Manipulate the HTTP Vary header
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
An AST-based pattern checker for JavaScript.
Escape string for use in HTML
Lightweight debugging utility for Node.js and the browser
An extremely fast JavaScript and CSS bundler and minifier.
The ultimate javascript content-type utility.
HTTP status utility
Create HTTP error objects
Traverse an ESTree-compliant AST
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Execute a callback when a request closes, finishes, or errors
HTTP response freshness testing
Range header field string parser
Version history
| Version | Published | License |
|---|---|---|
| 1.8.1latest | 8 years ago | MIT |
| 1.8.0 | 9 years ago | MIT |
| 1.7.0 | 11 years ago | MIT |
| 1.6.0 | 11 years ago | MIT |
| 1.5.1 | 11 years ago | MIT |
| 1.5.0 | 11 years ago | MIT |
| 1.4.0 | 11 years ago | MIT |
| 1.3.1 | 12 years ago | MIT |
| 1.3.0 | 12 years ago | MIT |
| 1.2.1 | 12 years ago | MIT |
| 1.2.0 | 12 years ago | MIT |
| 1.1.0 | 12 years ago | MIT |
| 1.0.1 | 12 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install etag?
Run `npm install etag` to add etag to your npm project.
What license is etag released under?
etag is distributed under the MIT license.
How popular is etag?
etag has approximately 89,038,226 downloads per week and 2 known dependent packages.