{"name":"stylis-rule-sheet","main":"index.js","description":"stylis plugin to extract individual rules to use with insertRule API","version":"0.0.9","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"],"peerDependencies":{"stylis":"3.x"},"_id":"stylis-rule-sheet@0.0.9","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"thysultan","email":"sultantarimo@me.com"},"dist":{"integrity":"sha512-Dl5/Bc1h2Moq3lcv7n0txrfuhyLXyPuTkzMmMhArh2MFjyeJbDCyAHlI3+s/WxDipcQcHegvQ6DFoW8DAU6Sag==","shasum":"e48dec13d25466e399c4821a867d98ff2fa3e226","tarball":"http://registry-npm.ywwl.com/stylis-rule-sheet/download/stylis-rule-sheet-0.0.9.tgz","fileCount":3,"unpackedSize":2095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtmnFoKeohOd7PuD+Clu0AOtmqoFIFyHAA7CK82694/wIhAJ3/EoQhnRHdYqGsE+TyvRRw0kzr3XAwSefzw/aH+lh+"}],"size":1116,"noattachment":false,"key":"/stylis-rule-sheet/-/stylis-rule-sheet-0.0.9.tgz"},"maintainers":[{"name":"thysultan","email":"sultantarimo@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylis-rule-sheet_0.0.9_1520534830767_0.7296447822884502"},"_hasShrinkwrap":false,"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":1520534830815,"_cnpm_publish_time":1520534830815,"dist-tags":{"latest":"0.0.10"}}