1.1.9 • Published 7 years ago
oceanus v1.1.9
oceanus
Installation
$ npm install oceanus
Example
const koa = require('koa');
const body = require('koa-body');
const oceanus = require('oceanus');
const app = koa();
app.use(body());
app.use(oceanus({
appKey: 'com.movie.www'
}).koa());
app.use(function*(){
this.body = 'hello';
});
app.listen(3000);
Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by
$ npm install
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3