https://github.com/jstransformers/jstransformer-inline-css
inline-css support for JSTransformers
https://github.com/jstransformers/jstransformer-inline-css
Last synced: 5 months ago
JSON representation
inline-css support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-inline-css
- Owner: jstransformers
- License: mit
- Created: 2018-10-04T02:03:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-09-18T04:47:50.000Z (9 months ago)
- Last Synced: 2025-09-18T06:31:12.404Z (9 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/inline-css
- Size: 48.8 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-inline-css
[Inline-CSS](https://www.npmjs.com/package/inline-css) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-inline-css)
[](https://codecov.io/gh/jstransformers/jstransformer-inline-css)
[](http://david-dm.org/jstransformers/jstransformer-inline-css)
[](https://www.npmjs.org/package/jstransformer-inline-css)
## Installation
npm install jstransformer-inline-css
## API
```js
var inlineCss = require('jstransformer')(require('jstransformer-inline-css'))
inlineCss.render('div{color:red;}
').body
//=> ''
```
## License
MIT