Skip to content
JS
Package

koa-zod-router

Inspired by koa-joi-router, this package aims to provide a similar feature-set while leveraging Zod and Typescript to create typesafe routes and middlewares with built in I/O validation.

v2.3.0, 19 May 2024MITESM + CommonJSTypes: BundledSchema validationHTTP servers and web frameworks
$ npm install koa-zod-router

Key numbers

As of 25 Sept 2026
Weekly downloads
1.9k
-77% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
7
Direct, from package.json
Last release
2 years ago
v2.3.0
GitHub stars
66
5 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 10k (4 Nov 2025)Low 975 (15 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,901 downloads last week, 9,028 in the last month. The 12-month change of -77% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.3.0, 19 May 20242 years ago
First published
-
Last push to GitHub
6 Nov 2025323 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
76 kB
Dependencies (7)
zodformidable@koa/routerkoa-bodyparser@types/formidable@types/koa__router@types/koa-bodyparser
Peer dependencies (2)
koazod
npm install koa-zod-router
  • jsDelivrhttps://cdn.jsdelivr.net/npm/koa-zod-router@2.3.0/
  • unpkghttps://unpkg.com/koa-zod-router@2.3.0/
  • esm.shhttps://esm.sh/koa-zod-router@2.3.0
PackageWeekly downloadsGzipLast releaseModuleComparison
express-zod-api12.8k-2 days agoESM only-
express-zod-safe10k-5 months agoESM + CommonJS-
koa-joi-router7.5k-5 years agoCommonJS-
express-joi-validation16.6k-1 year agoCommonJS-
superstruct4.7m-2 years agoESM + CommonJS-
@express-zod-api/zod-plugin5.7k-1 month agoESM only-
@zodios/core270.5k-3 years agoESM + CommonJS-
@ws-kit/zod5.6k-8 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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