JSON mask | Node module
This module sort of provides some selector to choose portions from a JSON object. These can be helpful in lot ways i.e. when you need to pass a selective data from database to browser.
You can see examples from twitter REST api which yields response based on queries.
First things first, do npm install json-mask
Supported selectors
a,b,c
comma-separated list will select multiple fieldsa/b/c
path will select a field from its parenta(b,c)
sub-selection will select many fields from a parenta/*/c
the star * wildcard will select all items in a field
Based on description here