Converts JSON to Css
This module has no external dependencies.
-
Css
- [string]
of(json)
- Returns a minified version of the css rules defined in
json
- Returns a minified version of the css rules defined in
- [string]
const Css = require('json-to-css')
const json = require('./some-css.json')
const css = Css.of(json)
console.log(css)