diff --git a/example/index.ts b/example/index.ts deleted file mode 100644 index a73dd02..0000000 --- a/example/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { serve } from '../src/server' -import { Hono } from 'hono' - -const app = new Hono() -app.get('/', (c) => c.text('Hono meets Node.js')) - -const port = 3010 -serve({ - fetch: app.fetch, - port, -}) - -console.log(`🏁 http://localhost:${port}`) diff --git a/example/package.json b/example/package.json deleted file mode 100644 index 6761396..0000000 --- a/example/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "example", - "version": "0.0.0", - "scripts": { - "start": "yarn tsx index.ts", - "bechmark": "npx autocannon -c 50 -d 10 http://localhost:3010" - }, - "dependencies": { - "@honojs/node-server": "^0.0.1", - "hono": "^2.1.4" - }, - "devDependencies": { - "tsx": "^3.9.0" - } -}