1.1.0 • Published 8 years ago
hb-request v1.1.0
Install
Install with npm
$ npm i -S hb-request
Usage
This library expects that you use koa-body library
const koa = require('koa');
const koaBody = require('koa-body');
const request = require('hb-request');
let app = koa();
Object.assign(app.request, request);
app.use(koaBody());
...
License
The MIT license, 2016 Bohdan Stadnyk
1.1.0
8 years ago