Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
std
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
URLPattern
s to
provide fast and easy route matching.
import { serve } from "https://deno.land/std/http/server.ts";
import { router } from "https://deno.land/x/rutt/mod.ts";
await serve(
router({
"/": (_req) => new Response("Hello world!", { status: 200 }),
}),
);
rutt
Projects using
Maintainers
- Elias Sjögreen (@eliassjogreen)
- Dean Srebnik (@load1n9)
- Leo Kettmeir (@crowlKats)
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.