Format koa's respond json.
Installation
$ npm install koahub-body-res
Use with koa
var app = ;var koaRes = ;app; thisdata = 'This is a body';thismsg = 'This is a msg';thisgo = 'This is a go url'; output thisbody = code: 200 data: 'This is a body' msg: 'This is a msg' thisbody = code: 200 data: 'This is a body' msg: 'This is a msg' go: 'This is a go url';