Gathering detailed insights and metrics for @tinyhttp/etag
Gathering detailed insights and metrics for @tinyhttp/etag
Gathering detailed insights and metrics for @tinyhttp/etag
Gathering detailed insights and metrics for @tinyhttp/etag
🦄 0-legacy, tiny & fast web framework as a replacement of Express
npm install @tinyhttp/etag
Typescript
Module System
Min. Node Version
Node Version
NPM Version
100
Supply Chain
70.8
Quality
76.2
Maintenance
100
Vulnerability
100
License
@tinyhttp/jsonp@2.1.15
Updated on Feb 22, 2025
@tinyhttp/app@2.5.2
Updated on Feb 22, 2025
@tinyhttp/res@2.2.5
Updated on Feb 21, 2025
@tinyhttp/req@2.2.5
Updated on Feb 21, 2025
@tinyhttp/rate-limit@2.1.5
Updated on Feb 21, 2025
@tinyhttp/proxy-addr@2.2.1
Updated on Feb 21, 2025
TypeScript (99.9%)
JavaScript (0.1%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,848 Stars
1,773 Commits
127 Forks
21 Watchers
2 Branches
59 Contributors
Updated on Jul 11, 2025
Latest Version
2.1.2
Package Id
@tinyhttp/etag@2.1.2
Unpacked Size
6.14 kB
Size
2.95 kB
File Count
8
NPM Version
10.8.1
Node Version
22.3.0
Published on
Jun 26, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A rewrite of etag module.
This module generates HTTP ETags (as defined in RFC 7232) for use in HTTP responses.
1pnpm i @tinyhttp/etag
1import { eTag } from '@tinyhttp/etag'
eTag(entity, [options])
Generate a strong ETag for the given entity. This should be the complete body of the entity. Strings, Buffer
s, and fs.Stats
are accepted. By default, a strong ETag is generated except for fs.Stats
, which will generate a weak ETag (this can be overwritten by options.weak).
1res.setHeader('ETag', eTag(body))
eTag
accepts these properties in the options object.
weak
Specifies if the generated ETag will include the weak validator mark (that is, the leading W/
). The actual entity tag is the same. The default value is false
, unless the entity is fs.Stats
, in which case it is true
.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
14 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 8
Details
Reason
2 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 2/24 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More