import { type Fastro } from "https://deno.land/x/fastro@v0.84.23/mod.ts";
Defines the application endpoint, middleware, group, and serve
Example:
import fastro from "https://fastro.deno.dev/mod.ts";
const f = new fastro();
f.get("/", () => "Hello, World!");
await f.serve();
Properties
serve: (options?: { port?: number; onListen?: ListenHandler; }) => Promise<void>
Methods
group(mf: ModuleFunction): Promise<Fastro>