Skip to content
JS
Package

express-basic-auth

Plug & play basic auth middleware for express

v1.2.1, 11 Dec 2021MITCommonJSTypes: BundledAuthentication and authorisationHTTP servers and web frameworks
$ npm install express-basic-auth

Key numbers

As of 25 Sept 2026
Weekly downloads
695.1k
+72% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v1.2.1
GitHub stars
334
57 forks
Open issues / PRs
11 / 6
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.1m (25 Aug 2026)Low 324.4k (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.

695,089 downloads last week, 3,678,400 in the last month. The 12-month change of +72% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
024 in total
Latest version
1.2.1, 11 Dec 20214 years ago
First published
11 Oct 2016
Last push to GitHub
23 Jan 20231,340 days before the snapshot
Repository archived
No
Open issues
11
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
489

Major versions

  1. v1 first release 1.0.0, 16 Feb 2017
  2. v0 first release 0.1.0, 11 Oct 2016

Recent releases

VersionPublished
1.2.111 Dec 2021
1.2.022 Apr 2019
1.1.722 Apr 2019
1.1.626 Oct 2018
1.1.523 Apr 2018
1.1.49 Feb 2018
1.1.323 Oct 2017
1.1.215 Aug 2017
1.1.129 May 2017
1.1.029 May 2017
1.0.227 Apr 2017
1.0.118 Mar 2017
1.0.016 Feb 2017
0.3.316 Feb 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
31 kB
Dependencies (1)
basic-auth
npm install express-basic-auth
  • jsDelivrhttps://cdn.jsdelivr.net/npm/express-basic-auth@1.2.1/
  • unpkghttps://unpkg.com/express-basic-auth@1.2.1/
  • esm.shhttps://esm.sh/express-basic-auth@1.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@propelauth/express9.6k-5 months agoESM + CommonJS-
@clerk/express252.3k-todayESM + CommonJS-
passport5.8m-2 years agoCommonJS-
http-auth-connect335.7k-4 years agoCommonJS-
passport-unique-token40.9k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.