Skip to content

jstransformers/jstransformer-inline-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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