An Simple web-framework for Deno and Friends.
MIT License
Bot releases are hidden (Show)
Published by herudi over 3 years ago
Published by herudi over 3 years ago
...
app.use(wrapMiddleware(
[midd1(), midd2()],
{
beforeWrap: (rev, res) => {
// rev.any = fn;
// res.any = fn;
}
}
))
...
Published by herudi over 3 years ago
...
app.get("/user", ({ response }) => {
response.send('Hello');
});
...
Published by herudi over 3 years ago
Published by herudi over 3 years ago
...
app.get("/hello", (rev: RequestEvent) => {...})
...
Published by herudi over 3 years ago
Published by herudi over 3 years ago
...
respondWith(new JsonResponse({ name: 'john' }))
...
Published by herudi over 3 years ago
Published by herudi over 3 years ago
Published by herudi over 3 years ago