1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { Hono } from "npm:hono";
import { cors } from "npm:hono/cors";
const app = new Hono();
app.use(cors());
app.get("/", async (c) => {
return c.json({
"name": "Niek Kruse",
"firstName": "Niek",
"avatar": null,
"initials": "NK",
"joinDate": "2023-11-06T16:36:15.687Z",
"username": "pkzbfp3s",
"email": "niek@framer.com",
"userId": "foo",
"intercomUserHash": "foo",
});
});
export default app.fetch;