import { route } from "https://deno.land/x/oak@v14.1.0/middleware/serve.ts";
Wrap a handler function to generate middleware that can be used with an oak
Router
. This allows the handler to deal with a Fetch API standard
Request
and return a standard Response
.