/sheetify-json

Use sheetify prefixes anywhere.

Primary LanguageJavaScript

Sheetify-json

Use sheetify prefixes anywhere.

Install

npm install sheetify-json

Usage

browserify -t [sheetify -u sheetify-json] index.js > bundle.js

index.js

var css = require('sheetify')
css('./styles.css')

This will generate styles.css.json containing the following:

{
    "prefix": "._123123"
}

Tests

npm test

License

MIT