Skip to main content

Fastro

ci

Fast & simple 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();

Benchmarks

If performance is important to you, here are the benchmark results:

Framework Version Router? Avg Req
Abc 1.0.0-rc8 1110.1
Deno http 1.0.3 2327.9
Express 4.17.1 573.5
Fastify 2.14.1 1398.4
Fastro 0.5.1 1532.5
Node http 14.3.0 2305.7
Oak 4.0.0 1075.6

Check this folder to see the detail method.

How to use & examples

This module uses the git release. If you want to pick a specific version, for example v0.5.0, then the full url is https://deno.land/x/fastro@v0.5.0/mod.ts. If you do not use the version, it will refer to master branch.

Check this folder to find out how to: