npm.io
1.0.1 • Published 9 years ago

style-string

Licence
MIT
Version
1.0.1
Deps
1
Vulns
0
Weekly
0

style-string Build Status

Generate inline style strings

Install

$ npm install --save style-string

Usage

const styleString = require('style-string');

styleString({ 'font-site': '18px', color: 'red' });
//=> 'font-site: 18px; color: red'

API

styleString(styles)
styles

Type: object

License

MIT Tobias Herber