# Install chanfana with npm

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more! Version 3.3.0 via npm; verified 2026-03-18.

## Install

```sh
sudo av install npm:chanfana
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g chanfana
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:chanfana
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/chanfana>
- **Version:** 3.3.0
- **Source summary:** OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
- **Homepage:** <https://chanfana.pages.dev>
- **Repository:** <https://github.com/cloudflare/chanfana>
- **Upstream docs:** <https://chanfana.pages.dev>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/chanfana/-/chanfana-3.3.0.tgz>
- **Issue tracker:** <https://github.com/cloudflare/chanfana/issues>
- **Published:** 2026-03-18T10:10:55.344Z
- **Last updated:** 2026-03-18T10:10:55.344Z
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- chanfana (cli)
- chanfana (alias)

## Dependencies

- @asteasolutions/zod-to-openapi
- js-yaml
- openapi3-ts
- yargs-parser
- zod

## Build dependencies

- @biomejs/biome
- @changesets/changelog-github
- @changesets/cli
- @cloudflare/vitest-pool-workers
- @cloudflare/workers-types
- @types/js-yaml
- @types/node
- @vitest/coverage-istanbul
- hono
- itty-router
- pkg-pr-new
- tsup
- typescript
- vitepress
- vitest-openapi
- wrangler

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 3.3.0
- Package-manager updated: 2026-03-18
- Local data: ok
- Upstream repository: https://github.com/cloudflare/chanfana
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for chanfana. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.3.0
- **Version Count:** 34
- **Maintainers:** wrangler-publisher
- **Author:** Gabriel Massadas
- **Publisher:** GitHub Actions
- **Engines:** Node: >=18
- **Integrity:** sha512-YKZkjymihSi9Wiwb4BbdMzXH7j9OxT4KS+5b9Y9ZUsj6Wthfodkw81cgoSEOMvgMTicCryohKhKZSIKCA6GFQA==
- **Shasum:** bb55cc0bac2315cc79d9745c38d2722baec7d2b9
- **Unpacked Size:** 706,806
- **File Count:** 0
- **Created At:** 2024-06-17T22:22:43.258Z
- **Latest Published At:** 2026-03-18T10:10:55.344Z
- **Modified At:** 2026-03-18T10:10:55.637Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [swagger2openapi](https://www.automicvault.com/pkg/npm/swagger2openapi/) - Both packages work with overlapping file formats or content types. Shared terms: api, api-tools, cli, developer, developer-tools.
- [api](https://www.automicvault.com/pkg/npm/api/) - Both packages work with overlapping file formats or content types. Shared terms: api, api-tools, cli, developer, developer-tools.
- [swagger-tools](https://www.automicvault.com/pkg/npm/swagger-tools/) - Both packages work with overlapping file formats or content types. Shared terms: api, api-tools, cli, developer, developer-tools.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
