| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| @tinyhttp_rate-limit@2.1.12 source code.tar.gz | 2026-10-20 | 370.9 kB | |
| @tinyhttp_rate-limit@2.1.12 source code.zip | 2026-10-20 | 503.5 kB | |
| README.md | 2026-10-20 | 416 Bytes | |
| Totals: 3 Items | 874.9 kB | 0 | |
Patch Changes
- c78acaa: fix: fall back to the socket address for the default key
The default keyGenerator keyed the requests by req.ip, which tinyhttp only
sets when the networkExtensions setting is enabled. Without it every request
was counted under the same undefined key, so all clients shared one limit.
The default key falls back to the address of the socket when req.ip is not
set.