StyleSet is a Javascript library to create CSS
$ npm install style-set --save
Use with node.js
var styleSet = require('style-set');
Exemple :
var color = "#ffffff";
var style = styleSet({
'background-color' : {
red : true,
white : false
},
color : color
});
// Append or edit style
style.set('height' , '200px');