HttpRouter
Super fast web router for node.js, rewritten from golang's httprouter
Installation
npm i httprouter-js -S
Usage
;; ; router.GET"/another", Index;router.GET"/hello/:name", Index; ; server.listen3000;console.log"Listening on 3000..";
Todo
- middleware
- adapter for express or koa
License
MIT