node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

base2-koa-middlewares

base2-koa-middlewares

Install

[sudo] npm install --save base2-koa-middlewares

Usages

app.mount_plugins('node_modules/base2-koa-middlewares/lib');

Features

  • log(已实现)
  • view(已实现)
  • www(已实现)
  • json(已实现)
  • favicon(已实现)
  • body-parser(已实现)
  • cookie-parser(koa内置,不需要实现)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

版本历史

  • v1.0.0 初始化版本

欢迎fork和反馈

如有建议或意见,请在issue提问或邮件

License

this repo is released under the MIT License.