Skip to content
JS
Package

json-server-auth

Authentication middleware for JSON Server

v2.1.0, 21 Jul 2021MITCommonJSTypes: BundledDev servers and API mockingTesting
$ npm install json-server-auth

Key numbers

As of 25 Sept 2026
Weekly downloads
1.6k
-32% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
5 years ago
v2.1.0
GitHub stars
342
70 forks
Open issues / PRs
13 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 4.6k (10 Mar 2026)Low 1.5k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,639 downloads last week, 7,493 in the last month. The 12-month change of -32% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.1.0, 21 Jul 20215 years ago
First published
-
Last push to GitHub
2 Jul 20231,180 days before the snapshot
Repository archived
No
Open issues
13
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
7

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
35 kB
Dependencies (3)
yargsbcryptjsjsonwebtoken
Peer dependencies (1)
json-server
npm install json-server-auth
  • jsDelivrhttps://cdn.jsdelivr.net/npm/json-server-auth@2.1.0/
  • unpkghttps://unpkg.com/json-server-auth@2.1.0/
  • esm.shhttps://esm.sh/json-server-auth@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
msw14.4m-2 months agoESM + CommonJS-
casual-browserify62.9k-8 years agoCommonJS-
@msw/data65.2k-25 days agoESM only-
zod-schema-faker26.5k-6 months agoESM + CommonJS-
msw-when-then8.8k-5 years agoCommonJS-
bun-bagel5.4k-1 year agoESM only-
fictional102.1k-1 year agoESM + CommonJS-
xhr-mock161.6k-6 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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