{"_id":"spotlight","_rev":"17-578dea9f8b10189fb3eba7a410bf0ebe","name":"spotlight","description":"An object crawler/property search library that works on nearly all JavaScript platforms.","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.337":{"name":"spotlight","version":"0.1.337","description":"An object crawler/property search library that works on nearly all JavaScript platforms.","homepage":"https://github.com/bestiejs/spotlight.js","main":"spotlight","keywords":["crawl","find","search","utility"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"John-David Dalton","email":"john@fusejs.com","url":"http://allyoucanleet.com/"},"maintainers":[{"name":"jdalton","email":"john@fusejs.com"}],"bugs":{"url":"https://github.com/bestiejs/spotlight.js/issues"},"repository":{"type":"git","url":"git://github.com/bestiejs/spotlight.js.git"},"engines":["node","rhino"],"directories":{"doc":"docs","test":"tests"},"_npmJsonOpts":{"file":"/Users/jdalton/.npm/spotlight/0.1.337/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"spotlight@0.1.337","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"b39b8ca40501a0bd0af8a9f7719e520eefa50064","tarball":"https://registry.npmjs.org/spotlight/-/spotlight-0.1.337.tgz","integrity":"sha512-pqvT9FD6YCzYCa6uFjTnjDK/lu9RFqM6t2bAxnM+h1tbV4MpOtD24CO9E3CqKXmo6hf4+U0gBXf33IHGeRsKfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2wKuppqqpFbtsxweb/3JQiqfxIyqjlgE3nQqcatr+hAIhAKHMfSANNA23iyTnHek7smBa6mbf1H2thm1CKNcf7OZb"}]},"scripts":{}},"0.1.338":{"name":"spotlight","version":"0.1.338","description":"An object crawler/property search library that works on nearly all JavaScript platforms.","homepage":"https://github.com/bestiejs/spotlight.js","main":"spotlight","keywords":["crawl","find","search","utility"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"John-David Dalton","email":"john@fusejs.com","url":"http://allyoucanleet.com/"},"bugs":{"url":"https://github.com/bestiejs/spotlight.js/issues"},"repository":{"type":"git","url":"git://github.com/bestiejs/spotlight.js.git"},"engines":["node","rhino"],"directories":{"doc":"docs","test":"tests"},"_npmUser":{"name":"jdalton","email":"john@fusejs.com"},"_id":"spotlight@0.1.338","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"7b2f0a36e0d37aeb3c1620645bd7123d39fa513c","tarball":"https://registry.npmjs.org/spotlight/-/spotlight-0.1.338.tgz","integrity":"sha512-ZB8rlm+klUx5Zxg5FeDJDqzzzruuoHukZthofM0tWNP/g/Y5CIE5Fgko3x/RlLLdP9tGP6bqygd1yoVrNGQpqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHyqD8kC9rsWgYSySSwJ8gfioeV7l9tYwrBTWrQH+uL8CIFvCGv3GgyDKGpoa8RdRgmoxaVJ9DgTavrjKcY2n8crx"}]},"maintainers":[{"name":"jdalton","email":"john@fusejs.com"}]},"1.0.0":{"name":"spotlight","version":"1.0.0","description":"An object crawler/property search library that works on nearly all JavaScript platforms.","homepage":"https://github.com/bestiejs/spotlight.js","license":"MIT","main":"spotlight.js","keywords":["crawl","find","search","utility"],"author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},"contributors":[{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},{"name":"Benjamin Tan","email":"demoneaux@gmail.com","url":"http://d10.github.io/"}],"bugs":{"url":"https://github.com/bestiejs/spotlight.js/issues"},"repository":{"type":"git","url":"bestiejs/spotlight.js"},"scripts":{"test":"echo \"See the repository CONTRIBUTING.md for testing instructions.\""},"dependencies":{"lodash":"~2.4.1"},"engines":["node","rhino"],"files":["LICENSE.txt","spotlight.js"],"_id":"spotlight@1.0.0","dist":{"shasum":"36e38f554e8774884e002e123a7d4c243290ffac","tarball":"https://registry.npmjs.org/spotlight/-/spotlight-1.0.0.tgz","integrity":"sha512-MospSed31R7zfzZNeR8FHDi8snTEArZTzMsBT/MFqTgLtZTmlHOxcvIURHlEDeWHBvxufGRnpxNuKsfMwaA2yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt/N3f+cHNe271EtodDIzH5dvyR7Oc62YTuxsT0DCNYAIgcHYXyuiIhETJsdS3wE0KwlyZflqHHxJ3l7WNmY1U2n8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jdalton","email":"john.david.dalton@gmail.com"},"maintainers":[{"name":"jdalton","email":"john@fusejs.com"},{"name":"d10","email":"demoneaux@gmail.com"}],"directories":{}},"1.1.0":{"name":"spotlight","version":"1.1.0","description":"An object crawler/property search library that works on nearly all JavaScript platforms.","license":"MIT","main":"spotlight.js","keywords":["crawl","find","search","utility"],"author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},"contributors":[{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},{"name":"Benjamin Tan","email":"demoneaux@gmail.com","url":"http://d10.github.io/"}],"repository":{"type":"git","url":"https://github.com/bestiejs/spotlight.js"},"scripts":{"test":"echo \"See the repository CONTRIBUTING.md for testing instructions.\""},"dependencies":{"lodash":"~2.4.1"},"devDependencies":{"qunit-extras":"~1.3.0","qunitjs":"~1.11.0","requirejs":"~2.1.15"},"engines":["node","rhino"],"files":["LICENSE.txt","spotlight.js"],"bugs":{"url":"https://github.com/bestiejs/spotlight.js/issues"},"homepage":"https://github.com/bestiejs/spotlight.js","_id":"spotlight@1.1.0","_shasum":"d3fc9e9c28fcddaf2ae2c0fa6dd2b0eee056f952","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jdalton","email":"john.david.dalton@gmail.com"},"maintainers":[{"name":"jdalton","email":"john@fusejs.com"},{"name":"d10","email":"demoneaux@gmail.com"}],"dist":{"shasum":"d3fc9e9c28fcddaf2ae2c0fa6dd2b0eee056f952","tarball":"https://registry.npmjs.org/spotlight/-/spotlight-1.1.0.tgz","integrity":"sha512-rwMQbBy87yjIptxhRqEI1eqJILc3RF66Tb+RkyC31cc7gxc4fhNS2Z4QEd7UHhOKD1WblUOZdMf/7XYa8jUDGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAXPgTeJbJG1gLepIfFWGN5NMDuKPaT05dudQfYKXSJGAiAzZ0tmvmbUS9sHuV4zy6IxSOVl9axghNZTFmw0V8ojRQ=="}]},"directories":{}},"1.2.0":{"name":"spotlight","version":"1.2.0","description":"An object crawler/property search library that works on nearly all JavaScript platforms.","license":"MIT","main":"spotlight.js","keywords":["crawl","find","search","utility"],"author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},"contributors":[{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},{"name":"Benjamin Tan","email":"demoneaux@gmail.com","url":"https://d10.github.io/"}],"repository":{"type":"git","url":"git+https://github.com/bestiejs/spotlight.js.git"},"scripts":{"test":"echo \"See the repository CONTRIBUTING.md for testing instructions.\""},"dependencies":{"lodash":"^3.10.1"},"devDependencies":{"docdown":"~0.3.0","qunit-extras":"^1.4.5","qunitjs":"~1.20.0","requirejs":"^2.1.22"},"files":["spotlight.js"],"bugs":{"url":"https://github.com/bestiejs/spotlight.js/issues"},"homepage":"https://github.com/bestiejs/spotlight.js#readme","_id":"spotlight@1.2.0","_shasum":"031191d3cce5981e20f5b4733e586e55aec951e7","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.4.0","_npmUser":{"name":"jdalton","email":"john.david.dalton@gmail.com"},"dist":{"shasum":"031191d3cce5981e20f5b4733e586e55aec951e7","tarball":"https://registry.npmjs.org/spotlight/-/spotlight-1.2.0.tgz","integrity":"sha512-eVN8H9xLJccHRPWWL+8/Z6vqbWbBNNnrlOAynJw2BEPkPm1uiuuxU8RiRhJjaIZPqCiCa/koztBvt4Asu4c6GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC7Sl1sDuZ7FrjSQDMwxIY23kvYhtYkx5eD5RikZML3QIgdDh2xJ9LUDzVF91iQ2S75wSatMwm386+NuDLMmwOv38="}]},"maintainers":[{"name":"jdalton","email":"john@fusejs.com"},{"name":"d10","email":"demoneaux@gmail.com"}],"directories":{}}},"maintainers":[{"email":"john.david.dalton@gmail.com","name":"jdalton"},{"email":"demoneaux@gmail.com","name":"bnjmnt4n"}],"time":{"modified":"2022-06-26T23:05:13.012Z","created":"2011-08-10T06:00:22.406Z","0.1.337":"2011-08-10T06:01:04.187Z","0.1.338":"2011-11-22T06:51:58.962Z","1.0.0":"2014-04-28T03:59:27.250Z","1.1.0":"2014-12-01T08:23:12.910Z","1.2.0":"2016-01-11T01:40:52.282Z"},"author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},"repository":{"type":"git","url":"git+https://github.com/bestiejs/spotlight.js.git"},"readme":"# Spotlight.js v1.2.0\n\nAn object crawler/property search library that works on nearly all JavaScript platforms.\n\n## Documentation\n\n* [API Documentation](https://github.com/bestiejs/spotlight.js/blob/1.2.0/doc/README.md)\n* [Roadmap](https://github.com/bestiejs/spotlight.js/wiki/Roadmap)\n\n## Installation\n\nSpotlight.js’ only hard dependency is [lodash](https://lodash.com/).\n\nIn a browser:\n```html\n<script src=\"lodash.js\"></script>\n<script src=\"spotlight.js\"></script>\n```\n\nIn an AMD loader:\n```js\nrequire({\n  'paths': {\n    'spotlight': 'path/to/spotlight',\n    'lodash': 'path/to/lodash'\n  }\n},\n['spotlight'], function(spotlight) {/*…*/});\n```\n\nUsing npm:\n```bash\n$ npm i --save spotlight\n```\n\nIn Node.js:\n```js\nvar spotlight = require('spotlight');\n```\n\nUsage example:\n```js\n// find all \"length\" properties\nspotlight.byName('length');\n\n// or find all \"map\" properties on jQuery\nspotlight.byName('map', { 'object': jQuery, 'path': '$' });\n\n// or all properties with `jQuery` objects\nspotlight.byKind(jQuery);\n\n// or all properties with `RegExp` values\nspotlight.byKind('RegExp');\n\n// or all properties with `null` values\nspotlight.byKind('null');\n\n// or all properties with `undefined` values\nspotlight.byKind('undefined');\n\n// or all constructors\nspotlight.byKind('constructor');\n\n// or all properties with the value `0`\nspotlight.byValue(0);\n\n// or all properties containing \"oo\" in their name\nspotlight.custom(function(value, key) { return key.indexOf('oo') > -1; });\n\n// or all properties with falsey values\nspotlight.custom(function(value) { return !value; });\n```\n\n## Support\n\nTested in Chrome 46-47, Firefox 42-43, IE 9-11, Edge 13, Safari 8-9, Node.js 0.10.x, 0.12.x, 4.x, & 5.x, & PhantomJS 1.9.8.\n\n## BestieJS\n\nSpotlight.js is part of the BestieJS *“Best in Class”* module collection. This means we promote solid browser/environment support, ES5+ precedents, unit testing, & plenty of documentation.\n","homepage":"https://github.com/bestiejs/spotlight.js#readme","keywords":["crawl","find","search","utility"],"contributors":[{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},{"name":"Benjamin Tan","email":"demoneaux@gmail.com","url":"https://d10.github.io/"}],"bugs":{"url":"https://github.com/bestiejs/spotlight.js/issues"},"license":"MIT","readmeFilename":"README.md"}