Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 280 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 280 Bytes

MiddleStack

The really middleware web framework

Example

import {route, middlestack} from "https://deno.land/x/middlestack/mod.ts";;

Deno.serve(middlestack([
    route('GET', '/', async (req: Request) => {
        return new Response("Hello world!")
    }),
]))