# json-mask-stream
Pass thru specific parts of a JSON object strings in a stream and preserves the structure of the included elements.
Install
npm install json-mask-stream
Usage
Sample logfile.json
line:
"ip": "198.55.125.23" "timestamp":"2014-02-24 10:29:42" "url": "http:\/\/somedomain.com"
var fs = ;var logstream = fs;var split = 'split';var JsonMaskStream = ;var maskStream = 'url,timestamp'; logstream // {"url": "http:\/\/somedomain.com", "timestamp":"2014-02-24 10:29:42"}