{"name":"stylis-rule-sheet","main":"index.js","description":"stylis plugin to extract individual rules to use with insertRule API","version":"0.0.6","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.6","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"thysultan","email":"sultantarimo@me.com"},"dist":{"integrity":"sha512-TbGcpRZipJ+zW8WQ+H+wgAqecSU5E0EWbcpXewjRkJs+j/Ze79yFIIVaguSGnLgXsQXdawyZC3NvGKcpfFLNjA==","shasum":"059f89125a8e8db546e8adb0e07c4b4bcb81911b","tarball":"http://registry-npm.ywwl.com/stylis-rule-sheet/download/stylis-rule-sheet-0.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCasvRzB+xZucIhQ8IL1m9LdINwUTknnyyFJToDdooZPwIhAL//QvDuGS0l8Ufmok+pIb9Tuq71UDnTx3+v407NjXTP"}],"size":1103,"noattachment":false,"key":"/stylis-rule-sheet/-/stylis-rule-sheet-0.0.6.tgz"},"maintainers":[{"name":"thysultan","email":"sultantarimo@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylis-rule-sheet-0.0.6.tgz_1507983049989_0.5067532688844949"},"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":1507983050098,"_cnpm_publish_time":1507983050098,"dist-tags":{"latest":"0.0.10"}}