Skip to content

jstransformers/jstransformer-analyze-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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