stylis-rule-sheet
stylis plugin to extract individual rules to use with insertRule API
Last updated 9 years ago by thysultan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install stylis-rule-sheet 
SYNC missed versions from official npm registry.

stylis rule-sheet

stylis plugin to extract individual rules to use with the insertRule API

var sheet = document.head.appendChild(document.createElement('style')).sheet
var length = sheet.cssRules.length

var plugin = stylisRuleSheet((value) => {
	length = sheet.insertRule(value, length) + 1
})

stylis.use(plugin)

Current Tags

  • 0.0.10                                ...           latest (9 years ago)

10 Versions

  • 0.0.10                                ...           9 years ago
  • 0.0.9                                ...           9 years ago
  • 0.0.8                                ...           9 years ago
  • 0.0.7                                ...           9 years ago
  • 0.0.6                                ...           9 years ago
  • 0.0.5                                ...           9 years ago
  • 0.0.4                                ...           9 years ago
  • 0.0.3                                ...           9 years ago
  • 0.0.2                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
Maintainers (1)
Downloads
Total 47
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 0
Last Month 20
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE