UNPKG

json-q

Version:

Retrieves values from JSON objects (and JavaScript objects) by css-selector-like query (includes attribute filters and array flattening).

5 lines (4 loc) 125 B
module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; };