2.0.0 • Published 9 years ago
inline-style v2.0.0
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"