0.2.0 • Published 8 years ago

json-stylesheets v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

json-stylesheets Circle CI

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