{"name":"component-classes","version":"1.2.1","description":"Cross-browser element class list","keywords":["dom","html","classList","class","ui"],"dependencies":{"component-indexof":"*"},"browser":{"indexof":"component-indexof"},"component":{"scripts":{"classes/index.js":"index.js"}},"repository":{"type":"git","url":"https://github.com/component/classes.git"},"bugs":{"url":"https://github.com/component/classes/issues"},"homepage":"https://github.com/component/classes","_id":"component-classes@1.2.1","dist":{"shasum":"244690984e5a0000a2736b409d72d7d596dd6edd","tarball":"http://registry-npm.ywwl.com/component-classes/download/component-classes-1.2.1.tgz","integrity":"sha512-70Wp/THuVupMHz9dIkkSZeJ3gAKhDKm5/yiUgRKfmgKL/wqDGJ4VfANOmKXJ3UGnI7kulxYc+x8fZJoc9rR94w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYSKZgSsChN6e812zgP7QW/x6rdZCCY1d9cw1BYoo+eQIhALHd3+FRzFAVOZch71ao83Ves9EaVS3P6ktSqXd801yy"}],"size":2220,"noattachment":false,"key":"/component-classes/-/component-classes-1.2.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"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"}],"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":1392083928611,"_cnpm_publish_time":1392083928611,"dist-tags":{"latest":"1.2.6"}}