jenslind / sheetify-json

Use sheetify prefixes anywhere.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Use sheetify prefixes anywhere.


Languages

Language:JavaScript 100.0%