@drift-js/drift
v0.0.16
Published
A simple framework for building web applications
Downloads
16
Readme
DriftJS
A simple WinterCG compaitable web application framework.
Installation
bun install @drift-js/drift
- Setup your Drift server:
// src/index.ts
const app = new Drift().get("/", () => {
return { message: "Hello, World!" };
});
Bun.serve({
port: 3000,
fetch: app.fetch,
});
- Run using
bun run src/index.ts