inline-style
v2.0.0
Published
Transform an object into an inline CSS string.
Downloads
71,704
Readme
inline-style
Transform an object into an inline CSS string.
Installation
npm install inline-style
Usage
var inlineStyle = require('inline-style')
var style = inlineStyle({
fontSize: '0.875rem',
color: '#aaa'
})
console.log(style) // => "font-size:0.875rem;color:#aaa"