Skip to content

Commit 15e0864

Browse files
authored
Create README.md
1 parent e1fc013 commit 15e0864

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MiddleStack
2+
3+
The really middleware web framework
4+
5+
## Example
6+
7+
```ts
8+
import {route, middlestack} from "https://deno.land/x/middlestack/mod.ts";;
9+
10+
Deno.serve(middlestack([
11+
route('GET', '/', async (req: Request) => {
12+
return new Response("Hello world!")
13+
}),
14+
]))```

0 commit comments

Comments
 (0)