object-to-style

1.0.5 • Public • Published

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;'

Package Sidebar

Install

npm i object-to-style

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

819 B

Total Files

3

Last publish

Collaborators

  • jefftkadi