koa-robots
基于 Koa 的 MVC 生成器
Last updated 2 years ago by 2046 .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install koa-robots 
SYNC missed versions from official npm registry.

koa-robots

Koa MVC generator

Usage

sudo npm i koa-robots -g

koa-robots demo
cd demo
npm i
npm start

Support Features

  • [x] response time
  • [x] logger (based of log4j)
  • [x] fresh
  • [x] serve
  • [x] gzip
  • [x] jsonp
  • [x] proxy
  • [x] session
  • [x] filter xss
  • [x] error Page
  • [x] hot reload
  • [x] auto router
  • [x] parse GET & POST parameter
  • [x] template render (based of art-template)
  • [ ] restful
  • [ ] CRSF
  • [ ] database
  • [x] mock
  • [x] plugins
  • [ ] webSocket

Plugins

browserSync

npm i koa-robots-plugin-browsersync

//config.js
"plugins" : ["browsersync"]
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 50
Dependencies (7)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |