{"name":"stylis-rule-sheet","main":"index.js","description":"stylis plugin to extract individual rules to use with insertRule API","version":"0.0.2","homepage":"https://github.com/thysultan/stylis.js","license":"MIT","author":{"name":"Sultan Tarimo","email":"sultantarimo@me.com"},"keywords":["stylis","plugin"],"repository":{"type":"git","url":"git+https://github.com/thysultan/stylis.js.git"},"bugs":{"url":"https://github.com/thysultan/stylis.js/issues"},"scripts":{"test":"node ./tests"},"files":["index.js"],"devDependencies":{"stylis":"3.x"},"peerDependencies":{"stylis":"3.x"},"_id":"stylis-rule-sheet@0.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"thysultan","email":"sultantarimo@me.com"},"dist":{"integrity":"sha512-11kGB4bvAPyt00xzf2n7T2plrSqx19vwzJEM+YYHyEY7+pNZqdU6Y4lJPqqf0ZGtk9gpnxD1qNFGJf/NRc+CjA==","shasum":"a7141c38b423f08357321f71dd01183025e692a3","tarball":"http://registry-npm.ywwl.com/stylis-rule-sheet/download/stylis-rule-sheet-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClY6aaWhJLga0F4FrHoyWRvvnq3MKsPkuewuknphf4gwIgUwM5NRx2FtDp1rJ+D8roVPk0PGqSgMzdCWgn8NLyIrY="}],"size":1263,"noattachment":false,"key":"/stylis-rule-sheet/-/stylis-rule-sheet-0.0.2.tgz"},"maintainers":[{"name":"thysultan","email":"sultantarimo@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylis-rule-sheet-0.0.2.tgz_1507643765319_0.8222106099128723"},"directories":{},"readme":"# stylis rule-sheet\n\nstylis plugin to extract individual rules to use with the insertRule API\n\n```js\nvar sheet = document.head.appendChild(document.createElement('style')).sheet\nvar length = sheet.cssRules.length\n\nvar plugin = stylisRuleSheet((value) => {\n\tlength = sheet.insertRule(value, length) + 1\n})\n\nstylis.use(plugin)\n```\n","publish_time":1507643765847,"_cnpm_publish_time":1507643765847,"dist-tags":{"latest":"0.0.10"}}