Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.03 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.03 KB

jstransformer-inline-css

Inline-CSS support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-inline-css

API

var inlineCss = require('jstransformer')(require('jstransformer-inline-css'))

inlineCss.render('<style>div{color:red;}</style><div/>').body
//=> '<div style="color:red"/>'

License

MIT