Package
express-basic-auth
Plug & play basic auth middleware for express
v1.2.1, 11 Dec 2021MITCommonJSTypes: BundledAuthentication and authorisationHTTP servers and web frameworks
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
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
- v1 first release 1.0.0, 16 Feb 2017
- v0 first release 0.1.0, 11 Oct 2016
Recent releases
| Version | Published |
|---|---|
| 1.2.1 | 11 Dec 2021 |
| 1.2.0 | 22 Apr 2019 |
| 1.1.7 | 22 Apr 2019 |
| 1.1.6 | 26 Oct 2018 |
| 1.1.5 | 23 Apr 2018 |
| 1.1.4 | 9 Feb 2018 |
| 1.1.3 | 23 Oct 2017 |
| 1.1.2 | 15 Aug 2017 |
| 1.1.1 | 29 May 2017 |
| 1.1.0 | 29 May 2017 |
| 1.0.2 | 27 Apr 2017 |
| 1.0.1 | 18 Mar 2017 |
| 1.0.0 | 16 Feb 2017 |
| 0.3.3 | 16 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- jsDelivr
https://cdn.jsdelivr.net/npm/express-basic-auth@1.2.1/ - unpkg
https://unpkg.com/express-basic-auth@1.2.1/ - esm.sh
https://esm.sh/express-basic-auth@1.2.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @propelauth/express | 9.6k | - | 5 months ago | ESM + CommonJS | - |
| @clerk/express | 252.3k | - | today | ESM + CommonJS | - |
| passport | 5.8m | - | 2 years ago | CommonJS | - |
| http-auth-connect | 335.7k | - | 4 years ago | CommonJS | - |
| passport-unique-token | 40.9k | - | 5 years ago | CommonJS | - |
Indexability: Indexed.