1.0.5 • Published 1 year ago
object-to-style v1.0.5
object-to-style
npm i object-to-style --save
const objectToStyle = require('object-to-style');
const style = objectToStyle({ color:'red', 'background-color':'blue' });
console.log(style); // 'color: red; background-color: blue;'