{"name":"component-classes","version":"1.2.2","description":"Cross-browser element class list","keywords":["dom","html","classList","class","ui"],"dependencies":{"component-indexof":"0.0.3"},"browser":{"indexof":"component-indexof"},"component":{"scripts":{"classes/index.js":"index.js"}},"repository":{"type":"git","url":"https://github.com/component/classes.git"},"license":"MIT","gitHead":"954447c4152b58bd2f7d297002717279f019dd49","bugs":{"url":"https://github.com/component/classes/issues"},"homepage":"https://github.com/component/classes","_id":"component-classes@1.2.2","scripts":{},"_shasum":"d8d919944fcc5d38ff68643011d1c22088086a77","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"shtylman","email":"shtylman@gmail.com"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"retrofox","email":"rdsuarez@gmail.com"},{"name":"coreh","email":"thecoreh@gmail.com"},{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"kelonye","email":"kelonyemitchel@gmail.com"},{"name":"yields","email":"yields@icloud.com"},{"name":"anthonyshort","email":"antshort@gmail.com"},{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},{"name":"cristiandouce","email":"cristian@gravityonmars.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"},{"name":"stagas","email":"gstagas@gmail.com"},{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"calvinfo","email":"calvin@calv.info"},{"name":"dominicbarnes","email":"dominic@dbarnes.info"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"timoxley","email":"secoif@gmail.com"},{"name":"jonathanong","email":"jonathanrichardong@gmail.com"},{"name":"queckezz","email":"fabian.eichenberger@gmail.com"},{"name":"nami-doc","email":"vendethiel@hotmail.fr"},{"name":"clintwood","email":"clint@anotherway.co.za"},{"name":"thehydroimpulse","email":"dnfagnan@gmail.com"},{"name":"stephenmathieson","email":"me@stephenmathieson.com"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"},{"name":"timaschew","email":"timaschew@gmail.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"d8d919944fcc5d38ff68643011d1c22088086a77","tarball":"http://registry-npm.ywwl.com/component-classes/download/component-classes-1.2.2.tgz","integrity":"sha512-Jy2fTSEw6KrVM5ZdrU4YohnFdn1ZqCwRyRgQ+kgQD1L7KbRaA5Hs97Gclr1dJHRWRkPbjQn+UNsIIvi9v17x+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr984D9/Q5+6sM4xYBpGZWSx3EkLqW7p1UOuKqqoVBNQIgTNf7rgALQSlT5n530H6slmAF7yPavsV5uDYCdyrTm5M="}],"size":2285,"noattachment":false,"key":"/component-classes/-/component-classes-1.2.2.tgz"},"directories":{},"readme":"\n# classes\n\n  Cross-browser element class manipulation, utilizing the native `.classList` when possible. This is not designed to be a `.classList` polyfill.\n\n## Installation\n\n```\n$ component install component/classes\n```\n\n## Example\n\n```js\nvar classes = require('classes');\nclasses(el)\n  .add('foo')\n  .toggle('bar')\n  .remove(/^item-\\d+/);\n```\n\n## API\n\n### .add(class)\n\n  Add `class`.\n\n### .remove(class)\n\n  Remove `class` name or all classes matching the given regular expression.\n\n### .toggle(class)\n\n  Toggle `class`.\n\n### .has(class)\n\n  Check if `class` is present.\n\n### .array()\n\n  Return an array of classes.\n\n## Test\n\n```sh\n$ make test\n```\n\n## License\n\n  MIT\n","publish_time":1414440643274,"_cnpm_publish_time":1414440643274,"dist-tags":{"latest":"1.2.6"}}