{"name":"component-classes","version":"1.2.5","description":"Cross-browser element class list","keywords":["dom","html","classList","class","ui"],"dependencies":{"component-indexof":"0.0.3"},"component":{"scripts":{"classes/index.js":"index.js"}},"repository":{"type":"git","url":"git+https://github.com/component/classes.git"},"license":"MIT","devDependencies":{"component":"^0.19.9","component-test":"^0.1.4"},"gitHead":"b2136778d5d8bea9e00d25a20afd148003a66305","bugs":{"url":"https://github.com/component/classes/issues"},"homepage":"https://github.com/component/classes#readme","_id":"component-classes@1.2.5","scripts":{},"_shasum":"ec5498bfa6b4d6fa3475c708d5f75dfbd33fc0ad","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"stephenmathieson","email":"me@stephenmathieson.com"},"dist":{"shasum":"ec5498bfa6b4d6fa3475c708d5f75dfbd33fc0ad","tarball":"http://registry-npm.ywwl.com/component-classes/download/component-classes-1.2.5.tgz","integrity":"sha512-UhWn2+M5ngheWmq5KnDzQRhkHIwx2SbAQo8BiIYVuiGFjKi8PsJdW/3u35NxMvj0By2GD6CzwrZOQ+QeDpQHJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGfUKa5/TXdp7yRMoHyrCB7DOhR0dYMgqTx7GAKrI63KAiBg1pLR8k3LfaEILYC+/JRZ/9c9zgc3O800q6+1NWc9/g=="}],"size":2603,"noattachment":false,"key":"/component-classes/-/component-classes-1.2.5.tgz"},"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":"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"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/component-classes-1.2.5.tgz_1457633244203_0.2875399731565267"},"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":1457633246656,"_cnpm_publish_time":1457633246656,"dist-tags":{"latest":"1.2.6"}}