Lightlines
By jezweb

hono-api-scaffolder

jezweb1.6k installs

Your Hono API routes, validated and documented.

What it does

Adds validated API routes, middleware, typed bindings, and endpoint documentation to an existing Cloudflare Workers project.

When to use it

Use after the project shell exists, when adding API routes or generating endpoint documentation.

How to use it

Give it an existing Cloudflare Workers project and the API you want; it creates routes, middleware, and endpoint documentation.

What you provide

  • An existing project

Latest review

What you need · 3

Generated route files import Hono from the hono package.

Request-body validation requires @hono/zod-validator; the instructions include its installation.

Generated route files import zod to define validation schemas; the instructions include its installation.


Access · 1

This skill

pnpm add @hono/zod-validator zod

Execute

Installs Zod validation packages