Skip to content
JS
Package

http-auth

Node.js package for HTTP basic and digest access authentication.

v4.2.1, 2 May 2025MITCommonJSTypes: NoneAuthentication and authorisation
$ npm install http-auth

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
0200k400k600k800kSept 2025Mar 2026Sept 2026High 697.9k (14 Apr 2026)Low 252.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v4 first release 4.0.0, 2 Feb 2020
  2. v3 first release 3.0.0, 18 Oct 2016
  3. v2 first release 2.0.0, 6 Sept 2013
  4. v1 first release 1.0.0, 18 Sept 2011

Recent releases

VersionPublished
4.2.12 May 2025
4.2.021 Sept 2022
4.1.910 Aug 2021
4.1.724 Jun 2021
4.1.624 Jun 2021
4.1.59 Apr 2021
4.1.417 Mar 2021
4.1.314 Mar 2021
4.1.23 Feb 2020
4.1.12 Feb 2020
4.1.02 Feb 2020
4.0.22 Feb 2020
4.0.12 Feb 2020
4.0.02 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/http-auth@4.2.1/
  • unpkghttps://unpkg.com/http-auth@4.2.1/
  • esm.shhttps://esm.sh/http-auth@4.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
http-auth-connect335.7k-4 years agoCommonJS-
digest-fetch1m-3 years agoESM only-
passport-http236.3k-11 years agoCommonJS-
www-authenticate12.1k--CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.