Skip to content

Files

Latest commit

7542109 · Apr 26, 2020

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