{"name":"component-classes","version":"1.2.4","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","devDependencies":{"component":"^0.19.9","component-test":"^0.1.4"},"gitHead":"7e8440cdfed498c410b43d4318be63e9a9d32cf1","bugs":{"url":"https://github.com/component/classes/issues"},"homepage":"https://github.com/component/classes","_id":"component-classes@1.2.4","scripts":{},"_shasum":"38871c3445ebb424d03bf5bda6cf5656696b8dc4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mattmueller","email":"mattmuelle@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":"38871c3445ebb424d03bf5bda6cf5656696b8dc4","tarball":"http://registry-npm.ywwl.com/component-classes/download/component-classes-1.2.4.tgz","integrity":"sha512-BrCFAYuifOFgT3IjE7mFKbHupR+Tc3Z9VAmwXV8UEEduOUTMicoE7z0J4hiv6hv1RL9czDbgWmhE/UO/TTg0jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1pVtGNr8c4mPjmidQQcZ184P9IUSVErER6ZQBXbHejwIgdtQOGxlDkx6dTfb9gtDbvOOTrUsS484AcNc8BQNiAds="}],"size":8663,"noattachment":false,"key":"/component-classes/-/component-classes-1.2.4.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":1426632046589,"_cnpm_publish_time":1426632046589,"dist-tags":{"latest":"1.2.6"}}