express-json-mask
Express middleware for filtering the JSON responses
Installation
npm install --save express-json-mask
Usage
var express = expressJsonMask = app = ; var json = name: 'Express' version: 'version' description: 'description' repository: type: 'git' url: 'url' ; app; // example: app.use(expressJsonMask('field')); app; app;
Syntax
Look at the awesome module Json-Mask for the available syntax