jstransformer-autoprefixer

2.0.0 • Public • Published

jstransformer-autoprefixer

Autoprefixer support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge 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

Package Sidebar

Install

npm i jstransformer-autoprefixer

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • stoeffel
  • hemanth
  • timothygu
  • calebeby
  • tunnckocore