first commit

This commit is contained in:
MiaoMint
2025-10-26 00:02:58 +08:00
commit 24295e8c14
9 changed files with 9603 additions and 0 deletions

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
```txt
npm install
npm run dev
```
```txt
npm run deploy
```
[For generating/synchronizing types based on your Worker configuration run](https://developers.cloudflare.com/workers/wrangler/commands/#types):
```txt
npm run cf-typegen
```
Pass the `CloudflareBindings` as generics when instantiation `Hono`:
```ts
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()
```