0.2.0 • Published 8 years ago

s-server v0.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

s-server

Very Simple Develop Server

Usage

s-server /path/to/config.js

The config file is necessary as s-server do nothing but start a koa server. You must tell s-server which middlewares need to be use.

module.exports = function(koaApp) {
  koaApp.use(serve('./public'));
  koaApp.use(function*(next) {
    yield next;
  });
}
0.2.0

8 years ago

0.1.0

8 years ago