Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.21 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.21 KB

jstransformer-analyze-css

AnalyzeCSS support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge NPM version

Installation

npm install jstransformer-analyze-css

API

var analyzer = require('jstransformer')(require('jstransformer-analyze-css'))

analyzer.renderAsync('.bar {margin: 0 !important}')
.then(function (stats) {
  //=> JSON object as https://github.com/macbre/analyze-css#results
})

License

MIT