{"_id":"desandro-classie","_rev":"3185965","name":"desandro-classie","description":"class helper functions","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"time":{"modified":"2023-12-26T09:31:18.000Z","created":"2014-10-17T21:31:26.368Z","1.0.1":"2014-10-17T21:31:26.368Z"},"users":{},"author":{"name":"David DeSandro"},"repository":{"type":"git","url":"git://github.com/desandro/classie.git"},"versions":{"1.0.1":{"name":"desandro-classie","version":"1.0.1","description":"class helper functions","main":"classie.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/desandro/classie.git"},"keywords":["class"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/desandro/classie/issues"},"homepage":"https://github.com/desandro/classie","_id":"desandro-classie@1.0.1","_shasum":"aad4d0ba98c81cd8e8bf51acff70f8d5f9e51893","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"shasum":"aad4d0ba98c81cd8e8bf51acff70f8d5f9e51893","size":1514,"noattachment":false,"key":"/desandro-classie/-/desandro-classie-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/desandro-classie/download/desandro-classie-1.0.1.tgz"},"directories":{},"publish_time":1413581486368,"_hasShrinkwrap":false,"_cnpm_publish_time":1413581486368,"_cnpmcore_publish_time":"2021-12-17T04:53:57.119Z"}},"readme":"# Classie - class helper functions\n\n[Ripped from bonzo](https://github.com/ded/bonzo) :heart: @ded\n\n``` js\nclassie.has( element, 'my-class' ) // returns true/false\nclassie.add( element, 'my-new-class' ) // add new class\nclassie.remove( element, 'my-unwanted-class' ) // remove class\nclassie.toggle( element, 'my-class' ) // toggle class\n```\n\n## Package management\n\nInstall with [Bower](http://bower.io) :bird: `bower install classie`\n\nInstall with npm `npm install desandro-classie`\n\nInstall with [Component](http://github.com/component/component) `component install desandro/classie`\n\n## MIT license\n\nclassie is released under the [MIT license](http://desandro.mit-license.org).\n","_attachments":{},"homepage":"https://github.com/desandro/classie","bugs":{"url":"https://github.com/desandro/classie/issues"},"license":"MIT"}