json-stylesheets
v0.2.0
Published
A collection of common stylesheets from the internet exposed in JSON form for `to-css` and `insert-styles`
Downloads
7
Maintainers
Readme
json-stylesheets
A collection of common stylesheets from the internet exposed in JSON form for to-css
and insert-styles
Install
npm install --save json-stylesheets
Usage
var normalizeCSS = require('json-stylesheets/normalize');
var toCss = require('to-css');
var insertStyles = require('insert-styles');
// ...
insertStyles(toCss(normalizeCSS));
... or you can use the convenience method exposed by the root of the library
var insertStylesheet = require('json-stylesheets');
insertStylesheet(require('json-stylesheets/normalize'));
Tests
npm run test
License
MIT