1.0.1 • Published 7 years ago
style-string v1.0.1
style-string
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