MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add hono example

+29
examples/npm/hono/ant.lockb

This is a binary file and will not be displayed.

+13
examples/npm/hono/package.json
··· 1 + { 2 + "name": "hono", 3 + "version": "1.0.0", 4 + "type": "module", 5 + "main": "index.js", 6 + "scripts": { 7 + "start": "ant src/index.ts" 8 + }, 9 + "dependencies": { 10 + "hono": "^4.12.9" 11 + }, 12 + "devDependencies": {} 13 + }
+9
examples/npm/hono/src/index.ts
··· 1 + import { Hono } from 'hono'; 2 + 3 + const app = new Hono(); 4 + 5 + app.get('/', c => { 6 + return c.text('Hello ๐Ÿœ!'); 7 + }); 8 + 9 + export default app;
+7
examples/npm/hono/tsconfig.json
··· 1 + { 2 + "compilerOptions": { 3 + "strict": true, 4 + "jsx": "react-jsx", 5 + "jsxImportSource": "hono/jsx" 6 + } 7 + }