Fastro
Fast, simple, minimalist web framework for Deno.
Inspired by Fastify & Express.
import { Fastro } from "https://deno.land/x/fastro/mod.ts";
const server = new Fastro();
server.get("/", (req) => req.send("root"));
await server.listen({ port: 8000 });
For other details, you can see in: examples.
Benchmarks
If performance is important to you, here are the benchmark results:
Framework | Version | Router? | Avg Req |
---|---|---|---|
Abc | ${abc_version} | ✓ | ${abc} |
Deno http |
${deno_version} | ✗ | ${deno_http} |
Express | ${express_version} | ✓ | ${express} |
Fastify | ${fastify_version} | ✓ | ${fastify} |
Fastro | ${fastro_version} | ✓ | ${fastro} |
Node http |
${node_version} | ✗ | ${node} |
Oak | ${oak_version} | ✓ | ${oak} |
Check this to see the detail method & results: benckmarks