jstransformer-resin
Resin support for JSTransformers.
Installation
npm install jstransformer-resin
API
var resin = ; var options = browsers: 'last 2 version' 'ios' 'android 4' // Add a namespace to your classes to avoid collisions namespace: 'jstransformer' // Add a license to the final output license: '// Copyright 2015 and stuff \n';var css = ':root { var-grey: #666; } .btn { box-shadow: 0 1px var(grey); }'; resin;//=> '// Copyright 2015 and stuff \n.topcoat-btn {\n box-shadow: 0 1px #666;\n}'
License
MIT