Skip to content
JS
Package

static-auth

The most simple way to add Basic Authentication to a static website hosted on Vercel.

v2.1.2, 22 Apr 2022MITESM + CommonJSTypes: NoneAuthentication and authorisationCloud SDKs
$ npm install static-auth

Key numbers

As of 25 Sept 2026
Weekly downloads
1.7k
+623% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 years ago
v2.1.2
GitHub stars
29
2 forks
Open issues / PRs
0 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 3k (11 Aug 2026)Low 84 (2 Jun 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,661 downloads last week, 6,556 in the last month. The 12-month change of +623% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.1.2, 22 Apr 20224 years ago
First published
-
Last push to GitHub
9 May 2026138 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
8.2 kB
Dependencies (2)
basic-authserve-static
npm install static-auth
  • jsDelivrhttps://cdn.jsdelivr.net/npm/static-auth@2.1.2/
  • unpkghttps://unpkg.com/static-auth@2.1.2/
  • esm.shhttps://esm.sh/static-auth@2.1.2
PackageWeekly downloadsGzipLast releaseModuleComparison
cognito-express11.4k-2 years agoCommonJS-
@ankhorage/supabase-auth9.6k-1 day agoESM only-
@unkey/cache7.4k-2 years agoESM + CommonJS-
@netlify/identity23.2k-1 month agoESM + CommonJS-
@supabase/auth-js20m-1 day agoESM + CommonJS-
@supabase/gotrue-js153.2k-1 day agoESM + CommonJS-
netlify-identity-widget20.1k-6 months agoESM only-
@jm18457/kafkajs-msk-iam-authentication-mechanism44.4k-4 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1661 < 10000.