2.0.0 • Published 9 years ago

inline-style v2.0.0

Weekly downloads
3,935
License
MIT
Repository
github
Last release
9 years ago

inline-style

NPM version License Build status

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"

License

MIT