@ow-framework/koa

The power and elegance of [koa](https://github.com/koajs/koa) in your [@ow-framework](https://github.com/ow-framework/ow-packages) application.

Stats

StarsIssuesVersionUpdatedCreatedSize
@ow-framework/koa
4.0.0a year ago3 years agoMinified + gzip package size for @ow-framework/koa in KB

Readme

@ow-framework/koa

The power and elegance of koa in your @ow-framework application.

Install

yarn add @ow-framework/koa

Usage

import Ow from '@ow-framework/core';
import OwKoa from '@ow-framework/koa';

const app = new Ow();

app.addModules([
  OwKoa
]);

app.start();

This will start a server, listening on process.env.port or some random port if it's not specified.

Usage with options

import Ow from '@ow-framework/core';
import OwKoa from '@ow-framework/koa';

const app = new Ow();
const Koa = new OwKoa(app, {
  port: 7777
})

app.addModules([
  Koa
]);

app.start();

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.