{"name":"matches-selector","version":"1.2.0","description":"Check if a DOM element matches a given selector, with decent browser support and unit tests.","keywords":["browserify","CSS","selector"],"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/matches-selector.git"},"license":"MIT","scripts":{"test":"run-browser test/index.js"},"devDependencies":{"domify":"~1.1.1","tape":"~2.3.2","run-browser":"~2.0.2"},"testling":{"files":"test/index.js","browsers":["iexplore/8.0","iexplore/10.0","iexplore/9.0","chrome/30.0","chrome/31.0","chrome/canary","firefox/4.0","firefox/10.0","firefox/15.0","firefox/20.0","firefox/21.0","firefox/22.0","firefox/23.0","firefox/24.0","firefox/25.0","firefox/nightly","opera/11.0","opera/17.0","opera/next","safari/5.0.5","safari/5.1","safari/6.0","iphone/6.0","ipad/6.0"]},"gitHead":"7edea5271b9f0ff0361ac61f34ae6375612f6b75","bugs":{"url":"https://github.com/ForbesLindesay/matches-selector/issues"},"homepage":"https://github.com/ForbesLindesay/matches-selector#readme","_id":"matches-selector@1.2.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"integrity":"sha512-c4vLwYWyl+Ji+U43eU/G5FwxWd4ZH0ePUsFs5y0uwD9HUEFBXUQ1zUUan+78IpRD+y4pUfG0nAzNM292K7ItvA==","shasum":"d1814e7e8f43e69d22ac33c9af727dc884ecf12a","tarball":"http://registry-npm.ywwl.com/matches-selector/download/matches-selector-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqAGCpCjq7aBx7bJgk41pOgWL4DWxfaRbZUe1i9mw0gAiBUcN/ImeP0uqCEqpKoql68WDhRdKEMtYjulEIYmHFIhg=="}],"size":2335,"noattachment":false,"key":"/matches-selector/-/matches-selector-1.2.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matches-selector-1.2.0.tgz_1498220632082_0.5750544692855328"},"directories":{},"readme":"# matches-selector\n\nCheck if an element matches a given selector.  For use with browserify.\n\n[![Dependency Status](https://gemnasium.com/ForbesLindesay/matches-selector.png)](https://gemnasium.com/ForbesLindesay/matches-selector)\n[![NPM version](https://badge.fury.io/js/matches-selector.png)](http://badge.fury.io/js/matches-selector)\n\n[![browser support](https://ci.testling.com/ForbesLindesay/matches-selector.png)](https://ci.testling.com/ForbesLindesay/matches-selector)\n\n## Installation\n\n    $ npm install matches-selector\n\n## Example\n\n```js\nvar matches = require('matches-selector');\nmatches(el, 'ul li a');\n// => true or false\n```\n\n## Running Tests\n\nTests can be easilly run locally in the browser of your choice, and have passed if it ends with `# ok`.  They are also run on testling-ci when pushed to the repository:\n\n```\nnpm install\nnpm test\n```\n\nTo re-run tests after making changes, just refresh your browser\n\n## License\n\n  MIT\n","publish_time":1498220633059,"_cnpm_publish_time":1498220633059,"dist-tags":{"latest":"1.2.0"}}