Danielduel / rutt

🛣️ A tiny and fast http request router designed for use with deno and deno deploy

Home Page:https://deno.land/x/rutt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rutt

Rutt is a tiny http router designed for use with deno and deno deploy. It is written in about 200 lines of code and is pretty fast, using an extended type of the web-standard URLPatterns to provide fast and easy route matching.

import { router } from "https://deno.land/x/rutt/mod.ts";

await Deno.serve(
  router({
    "/": (_req) => new Response("Hello world!", { status: 200 }),
  }),
).finished;

Projects using rutt

Maintainers

Contribution

Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.

Licence

Copyright 2022-2023, the denosaurs team. All rights reserved. MIT license.

About

🛣️ A tiny and fast http request router designed for use with deno and deno deploy

https://deno.land/x/rutt

License:MIT License


Languages

Language:TypeScript 100.0%