Skip to content
JS
Package

chanfana

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!

v3.4.0, 17 Aug 2026MITESM + CommonJSTypes: BundledDocumentation toolingSchema validation
$ npm install chanfana

Key numbers

As of 25 Sept 2026
Weekly downloads
68.6k
+172% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
1 month ago
v3.4.0
GitHub stars
767
70 forks
Open issues / PRs
48 / 6
Contributors
-
Commits, last 52 weeks
46

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 81.6k (7 Apr 2026)Low 20.4k (21 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

68,617 downloads last week, 295,934 in the last month. The 12-month change of +172% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.4.0, 17 Aug 20261 month ago
First published
-
Last push to GitHub
31 Aug 202624 days before the snapshot
Repository archived
No
Open issues
48
Open pull requests
6
Commits, last 52 weeks
46
Dependents on npm
24

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
693 kB
Dependencies (5)
zodjs-yamlopenapi3-tsyargs-parser@asteasolutions/zod-to-openapi
npm install chanfana
  • jsDelivrhttps://cdn.jsdelivr.net/npm/chanfana@3.4.0/
  • unpkghttps://unpkg.com/chanfana@3.4.0/
  • esm.shhttps://esm.sh/chanfana@3.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
openapi-backend77.3k-5 days agoCommonJS-
zod-openapi994k-24 days agoESM + CommonJS-
@hey-api/openapi-ts3.4m-3 months agoESM only-
@hey-api/spec-types2.3m-5 months agoESM only-
@scalar/asyncapi-validator5.8k-todayESM only-
fastify-zod-openapi54.1k-2 months agoESM + CommonJS-
@shotstack/schemas10.2k-21 days agoESM + CommonJS-
@docmd/deployer8k-3 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.