Open
Description
Now that @tinyhttp/router
v1.0.5+ no longer depends on http
module of Node.js, it should be very easy to implement basic Deno support for tinyhttp. Probably it would be cool to have it located in the separate deno
folder with all editor settings specifically for it.
There aren't strict requirements on how it should be implemented, but i suppose we need to use either raw gh links, jspm or skypack to import the router
and we should use Deno's std http lib to pass request and response as generics, e.g. smth like this:
import { Router } from 'https://...'
import { ServerRequest } from 'https://...'
export class App extends Router<ServerRequest, ...> {
// ...
}
so it works instantly
Activity