Skip to content

jstransformers/jstransformer-autoprefixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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