Package
http-auth
Node.js package for HTTP basic and digest access authentication.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 453.7k
- -8% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 1 year ago
- v4.2.1
- GitHub stars
- 369
- 70 forks
- Open issues / PRs
- 3 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
453,712 downloads last week, 2,085,946 in the last month. The 12-month change of -8% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 0105 in total
- Latest version
- 4.2.1, 2 May 20251 year ago
- First published
- 18 Sept 2011
- Last push to GitHub
- 21 Jan 2026246 days before the snapshot
- Repository archived
- No
- Open issues
- 3
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 174
Major versions
- v4 first release 4.0.0, 2 Feb 2020
- v3 first release 3.0.0, 18 Oct 2016
- v2 first release 2.0.0, 6 Sept 2013
- v1 first release 1.0.0, 18 Sept 2011
Recent releases
| Version | Published |
|---|---|
| 4.2.1 | 2 May 2025 |
| 4.2.0 | 21 Sept 2022 |
| 4.1.9 | 10 Aug 2021 |
| 4.1.7 | 24 Jun 2021 |
| 4.1.6 | 24 Jun 2021 |
| 4.1.5 | 9 Apr 2021 |
| 4.1.4 | 17 Mar 2021 |
| 4.1.3 | 14 Mar 2021 |
| 4.1.2 | 3 Feb 2020 |
| 4.1.1 | 2 Feb 2020 |
| 4.1.0 | 2 Feb 2020 |
| 4.0.2 | 2 Feb 2020 |
| 4.0.1 | 2 Feb 2020 |
| 4.0.0 | 2 Feb 2020 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=8
- Runtimes
- -
- Unpacked size (npm)
- 17 kB
- Dependencies (4)
uuidbcryptjsapache-md5apache-crypt
npm install http-auth- jsDelivr
https://cdn.jsdelivr.net/npm/http-auth@4.2.1/ - unpkg
https://unpkg.com/http-auth@4.2.1/ - esm.sh
https://esm.sh/http-auth@4.2.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| http-auth-connect | 335.7k | - | 4 years ago | CommonJS | - |
| digest-fetch | 1m | - | 3 years ago | ESM only | - |
| passport-http | 236.3k | - | 11 years ago | CommonJS | - |
| www-authenticate | 12.1k | - | - | CommonJS | - |
Indexability: Indexed.