https://github.com/jstransformers/jstransformer-autoprefixer
Autoprefixer support for JS Transformers
https://github.com/jstransformers/jstransformer-autoprefixer
Last synced: over 1 year ago
JSON representation
Autoprefixer support for JS Transformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-autoprefixer
- Owner: jstransformers
- License: mit
- Created: 2015-04-14T07:06:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T16:54:38.000Z (over 2 years ago)
- Last Synced: 2024-04-26T19:47:12.124Z (about 2 years ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-autoprefixer
- Size: 65.4 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-autoprefixer
[Autoprefixer](https://github.com/postcss/autoprefixer) support for [JSTransformers](https://github.com/jstransformers/jstransformer).
[](https://travis-ci.org/jstransformers/jstransformer-autoprefixer)
[](https://codecov.io/gh/jstransformers/jstransformer-autoprefixer)
[](http://david-dm.org/jstransformers/jstransformer-autoprefixer)
[](https://www.npmjs.org/package/jstransformer-autoprefixer)
## Installation
npm install jstransformer-autoprefixer
## API
```js
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