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

koa-listen

1.0.1 • Public • Published

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

Keywords

install

npm i koa-listen

Downloadsweekly downloads

0

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability