impress-router
Install
$ npm i impress-router -S
port Express router to koa
$ npm i impress-router -S
router#augmentApp
for better experienceuseThis
option, use this
instead of ctx
like koa v1async/await
instead of co
, in lib & testnext
publish taggoNext
option, and wrap the koa app level next in a router inner next
,
inspired by koa-static done
field to decide whether to call next()
+
/?
params test.eslintrc.yml
& fix code style_.flattenDeep
to router.use
& router.get
etcnew
koa-v1
track koa@1