{"_id":"dom-matches","_rev":"8-be79cecdc1021f170edbb96b6a327c65","name":"dom-matches","description":"Check if a DOM element matches a given selector","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"dom-matches","description":"Check if a DOM element matches a given selector","version":"1.0.0","files":["index.js"],"devDependencies":{"karma":"~0.12.21","karma-chrome-launcher":"~0.1.4","karma-cli":"~0.0.4","karma-commonjs":"~0.0.11","karma-firefox-launcher":"~0.1.3","karma-jasmine":"~0.1.5","karma-safari-launcher":"~0.1.1"},"scripts":{"start":"karma start","test":"karma start --single-run"},"author":{"name":"Nicolas Gallagher"},"license":"MIT","repository":{"type":"git","url":"https://github.com/necolas/dom-matches.git"},"keywords":["browser","dom","element","matches","selector"],"bugs":{"url":"https://github.com/necolas/dom-matches/issues"},"homepage":"https://github.com/necolas/dom-matches","_id":"dom-matches@1.0.0","dist":{"shasum":"501277131334420fafd68542eff725f96d44c0bc","tarball":"https://registry.npmjs.org/dom-matches/-/dom-matches-1.0.0.tgz","integrity":"sha512-rVtih5Mzcwn0Rui2sAp8rqS+AtulotGdSxYP4Ao2kdQhzpmOMzqu//YPX1GvEN+en5+Fc1Jbh+s9YVXfYbFGlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNy50wEvhSfeI7EIiFAPfpr4g8/oRlSi0Wz4a985NISAiEAmqCg3D/gnIy/DLh+/kegqm2KLq+sDt4KntbwCYmsEig="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"necolas","email":"nicolasgallagher@gmail.com"},"maintainers":[{"name":"necolas","email":"nicolasgallagher@gmail.com"}]},"1.0.1":{"name":"dom-matches","description":"Check if a DOM element matches a given selector","version":"1.0.1","files":["index.js"],"devDependencies":{"karma":"~0.12.21","karma-chrome-launcher":"~0.1.4","karma-cli":"~0.0.4","karma-commonjs":"~0.0.11","karma-firefox-launcher":"~0.1.3","karma-jasmine":"~0.1.5","karma-safari-launcher":"~0.1.1"},"scripts":{"start":"karma start","test":"karma start --single-run"},"author":{"name":"Nicolas Gallagher"},"license":"MIT","repository":{"type":"git","url":"https://github.com/necolas/dom-matches.git"},"keywords":["browser","dom","element","matches","selector"],"bugs":{"url":"https://github.com/necolas/dom-matches/issues"},"homepage":"https://github.com/necolas/dom-matches","_id":"dom-matches@1.0.1","dist":{"shasum":"fa7b57cd8287895bf40936b8d8544ba8e8b35a1f","tarball":"https://registry.npmjs.org/dom-matches/-/dom-matches-1.0.1.tgz","integrity":"sha512-6+6bcZPd7AHhdXNVG7r5wcy50Hh7qe0FoZrj1gD5iUQO4Xhy9zk+PEGe/xVH6Qaq08m1gnn8vcb6BLZOcGHqeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCVgRDXflA4yL3Vv4ivF5WtgTGe/QMbXUpAf/yoasuXAIgWItfDCdNECm26fRe5LI9jS6Xh7JDsmtctgS+3JJVleI="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"necolas","email":"nicolasgallagher@gmail.com"},"maintainers":[{"name":"necolas","email":"nicolasgallagher@gmail.com"}]},"2.0.0":{"name":"dom-matches","description":"Check if a DOM element matches a given selector","version":"2.0.0","files":["index.js"],"devDependencies":{"karma":"~0.12.21","karma-chrome-launcher":"~0.1.4","karma-cli":"~0.0.4","karma-commonjs":"~0.0.11","karma-firefox-launcher":"~0.1.3","karma-jasmine":"~0.1.5","karma-safari-launcher":"~0.1.1"},"scripts":{"start":"karma start","test":"karma start --single-run"},"author":{"name":"Nicolas Gallagher"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/necolas/dom-matches.git"},"keywords":["browser","dom","element","matches","selector"],"gitHead":"b68abd2b117da8cda9922c4f6b6b1b1f98c27958","bugs":{"url":"https://github.com/necolas/dom-matches/issues"},"homepage":"https://github.com/necolas/dom-matches#readme","_id":"dom-matches@2.0.0","_shasum":"d2728b416a87533980eb089b848d253cf23a758c","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"necolas","email":"nicolasgallagher@gmail.com"},"dist":{"shasum":"d2728b416a87533980eb089b848d253cf23a758c","tarball":"https://registry.npmjs.org/dom-matches/-/dom-matches-2.0.0.tgz","integrity":"sha512-2VI856xEDCLXi19W+4BechR5/oIS6bKCKqcf16GR8Pg7dGLJ/eBOWVbCmQx2ISvYH6wTNx5Ef7JTOw1dRGRx6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQkGNJb3+yLvkMtzfF+fcrUaUDRAAerMIfEw8MiqsNnAiEA9TKgjstK901k8tfA3WVtnQFrTVtI2SVp/9HiQV9Y+TU="}]},"maintainers":[{"name":"necolas","email":"nicolasgallagher@gmail.com"}]}},"readme":"# dom-matches\n\n[![Build Status](https://secure.travis-ci.org/necolas/dom-matches.png?branch=master)](http://travis-ci.org/necolas/dom-matches)\n\nCheck if a DOM element matches a given selector.\n\n## Installation\n\n```\nnpm install dom-matches\n```\n\n## API\n\n### matches(elem, selector)\n\n* `elem`: a DOM node.\n* `selector`: a CSS selector string.\n\n```js\nvar matches = require('dom-matches');\nvar elem = document.querySelector('.foo');\n\nmatches(elem, '.foo');\n// => true\n\nmatches(elem, '.bar');\n// => false\n```\n\n## Browser support\n\n* Google Chrome\n* Firefox ESR+\n* Internet Explorer 10+\n* Safari 6+\n* Opera\n","maintainers":[{"name":"necolas","email":"nicolasgallagher@gmail.com"}],"time":{"modified":"2022-06-15T21:15:41.545Z","created":"2014-08-16T02:18:22.000Z","1.0.0":"2014-08-16T02:18:22.000Z","1.0.1":"2014-08-20T23:38:39.875Z","2.0.0":"2015-08-18T17:43:00.938Z"},"homepage":"https://github.com/necolas/dom-matches#readme","keywords":["browser","dom","element","matches","selector"],"repository":{"type":"git","url":"git+https://github.com/necolas/dom-matches.git"},"author":{"name":"Nicolas Gallagher"},"bugs":{"url":"https://github.com/necolas/dom-matches/issues"},"license":"MIT","readmeFilename":"README.md","users":{"monjer":true}}