cf-worker-api/README.md
2025-06-12 00:13:57 +08:00

393 B

npm install
npm run dev
npm run deploy

For generating/synchronizing types based on your Worker configuration run:

npm run cf-typegen

Pass the CloudflareBindings as generics when instantiation Hono:

// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()