Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 610 Bytes

readme.md

File metadata and controls

31 lines (18 loc) · 610 Bytes

style-string Build Status Codestyle fyi

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