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