base2-koa2-middlewares

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i base2-koa2-middlewares

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • zhaoxingyue
  • zhangyuang
  • langshu