style-set

1.3.0 • Public • Published

StyleSet

StyleSet is a Javascript library to create CSS

travis npm

Install with npm

$ npm install style-set --save

Usage

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

License

MIT License

Package Sidebar

Install

npm i style-set

Weekly Downloads

1

Version

1.3.0

License

MIT

Last publish

Collaborators

  • alexandre-g