import { router } from "https://deno.land/x/rutt@0.0.14/mod.ts";
A simple and tiny router for deno
Parameters
routes: Routes<T> | InternalRoutes<T>
A record of all routes and their corresponding handler functions
optional
error: ErrorHandler<T> = [UNSUPPORTED]An optional parameter which contains a handler for any time it fails to run the default request handling code
optional
unknownMethod: UnknownMethodHandler<T> = [UNSUPPORTED]An optional parameter which contains a handler for any time a method that is not defined is used