jstransformer-autoprefixer
v2.0.0
Published
Autoprefixer support for JSTransformers.
Downloads
18
Readme
jstransformer-autoprefixer
Autoprefixer support for JSTransformers.
Installation
npm install jstransformer-autoprefixer
API
var autoprefixer = require('jstransformer')(require('jstransformer-autoprefixer'))
var css = 'a { transition: transform 1s }';
// {} can contain any Autoprefixer and PostCSS options
autoprefixer.render(css, {}).body
// => a { -webkit-transition: -webkit-transform 1s; transition: transform 1s }
License
MIT