hono
Installation
SKILL.md
Hono
Use Context7 MCP (
resolve-library-idthenquery-docs) for full API reference, all built-in middleware, and additional runtime setup examples.
Overview
Lightweight, fast web framework for APIs and server-side applications. Hono 4.x works across Node.js, Bun, Deno, Cloudflare Workers with a consistent API.
Install: pnpm add hono
Workflows
Creating a basic API:
- Create Hono app instance:
const app = new Hono() - Define routes with HTTP methods
- Add middleware (CORS, logger, error handling)
- Export app for runtime adapter
- Test endpoints with curl or Postman