Package
host-validation-middleware
Middleware for validating host headers in requests to protect against DNS rebinding attacks.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 25.6k
- +14% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 months ago
- v0.1.4
- GitHub stars
- 1
- 0 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 46
Downloads
Last week 2026-09-15 to 2026-09-21
25,551 downloads last week, 114,887 in the last month. The 12-month change of +14% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.1.4, 4 Apr 20265 months ago
- First published
- -
- Last push to GitHub
- 1 Sept 202624 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 46
- Dependents on npm
- 3
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- ^18.0.0 || >=20.0.0
- Runtimes
- -
- Unpacked size (npm)
- 10 kB
- Dependencies (0)
- None
npm install host-validation-middleware- jsDelivr
https://cdn.jsdelivr.net/npm/host-validation-middleware@0.1.4/ - unpkg
https://unpkg.com/host-validation-middleware@0.1.4/ - esm.sh
https://esm.sh/host-validation-middleware@0.1.4
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| cookie-session | 308.2k | - | 1 year ago | - | - |
| koa-connect | 99.1k | - | 7 months ago | CommonJS | - |
| ware | 172k | - | 11 years ago | CommonJS | - |
| connect-slashes | 67.9k | - | 7 years ago | CommonJS | - |
| middleware-handler | 6.9k | - | 13 years ago | - | - |
| koa2-connect | 5.9k | - | 9 years ago | CommonJS | - |
Indexability: Indexed.