koa-enhanced-server

1.0.0 • Public • Published

koa-enhanced-server

Koa server with graceful shutdown

NPM Version Licence Build Status Coverage Status Dependency Status

Install

$ npm install --save koa-enhanced-server

Usage

import Application from 'koa';
import createServer from 'koa-enhanced-server';

const app = new Application();
const server = createServer(app);
const httpsServer = createServer(app, { 
  https: true,
  // ...TLS options
})

server.listen();

Readme

Keywords

none

Package Sidebar

Install

npm i koa-enhanced-server

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • simon.degraeve