1.0.1 • Published 9 years ago

koa-listen v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

koa-listen

Serve exported koa application

Example

// index.js
var koa = require('koa')
var app = koa()

module.exports = app
$ koa-listen index.js -p 1515

Usage

Usage: koa-listen <file> [options]

Serve exported koa application

Options:

  -h, --help     output usage information
  -p, --port     optional TCP port to start the server at, defaults to 3000

License

MIT