UNPKG

json-q

Version:

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

6 lines (5 loc) 142 B
var core = require('./_core'); module.exports = function (CONSTRUCTOR) { var C = core[CONSTRUCTOR]; return (C.virtual || C.prototype); };