Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.18 KB

jstransformer-autoprefixer

Autoprefixer support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

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