https://github.com/jstransformers/jstransformer-clean-css
Clean-CSS support for JSTransformers.
https://github.com/jstransformers/jstransformer-clean-css
Last synced: 11 months ago
JSON representation
Clean-CSS support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-clean-css
- Owner: jstransformers
- License: mit
- Created: 2015-02-09T11:07:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T03:21:49.000Z (about 6 years ago)
- Last Synced: 2024-11-14T10:14:00.358Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-clean-css
- Size: 62.5 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-clean-css
[clean-css](https://github.com/jakubpawlowicz/clean-css) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-clean-css)
[](https://codecov.io/gh/jstransformers/jstransformer-clean-css)
[](http://david-dm.org/jstransformers/jstransformer-clean-css)
[](https://www.npmjs.org/package/jstransformer-clean-css)
## Installation
npm install jstransformer-clean-css
## API
```js
var clean = require('jstransformer')(require('jstransformer-clean-css'))
clean.render('a { font-weight: bold; }').body
//=> 'a{font-weight:bold;}'
```
## License
MIT