koa-response-censor
Filter out certain keys from the response body. Keep those secrets secret!
Install
Install with npm
$ npm install koa-response-censor
Usage
var app = koaCensor = ; app; ... // any keys at any depth of the response body matching// a term found in the array above will be omitted from// the response.
Options
keys
{array} An array of keys to be omitted (deeply) from the response body
Tests
$ npm test
License
The MIT License, 2014 Murphy Randle