{"name":"css-builder","version":"0.0.6","description":"Build CSS in Javascript, no preprocessors!","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/jaz303/css-builder.git"},"keywords":["css","generate","builder"],"author":{"name":"Jason Frame","email":"jason@onehackoranother.com","url":"http://jasonframe.co.uk"},"license":"MIT","readmeFilename":"README.md","readme":"# css-builder\n\nBuild CSS in Javascript!\n\n## Example\n\n    var builder = require('css-builder');\n\n    var b = builder();\n\n    b.rule('div.foo', function() {\n        b.rule('a', function() {\n            b.rule('&.red', {backgroundColor: 'red'});\n            b.rule('&.blue', {backgroundColor: 'blue'});\n        });\n    });\n\n    console.log(b.toString());\n\n    // =>\n    // div.foo a.red { background-color: red; }\n    // div.foo a.blue { background-color: blue; }\n\n## Options\n\n  * `append`: function called to append CSS to buffer. If you override this, the builder's `toString()` function will always return an empty string.\n  * `builder`: base builder object, to which `attrib`, `attribs`, `rule` and `commit` methods will be added. Defaults to empty object. Allows you to pass in your own object/prototype chain, possibly including macro functions for defining more complex rules.","bugs":{"url":"https://github.com/jaz303/css-builder/issues"},"homepage":"https://github.com/jaz303/css-builder","_id":"css-builder@0.0.6","dist":{"shasum":"8dc0808ecd76fc68f968d14b18c3192ef46869fe","tarball":"http://registry-npm.ywwl.com/css-builder/download/css-builder-0.0.6.tgz","integrity":"sha512-wTHGN/zLOw4CAA2pJc47Co4JgIbY28/K9jkvMHwt7lx53r7WXsy956NDuiCF+jj2c8sDkrcwCG0pPXtV/vx6gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBy8ZOOqQUAIga7OsWEENzHlkhu5veeoKfu7hYcSR2kwAiAcC6ekQUCshfCvU26vcchDmAo59P3GML1elSsdzxI9Ag=="}],"size":1967,"noattachment":false,"key":"/css-builder/-/css-builder-0.0.6.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"publish_time":1387910054924,"_cnpm_publish_time":1387910054924,"dist-tags":{"latest":"0.0.7"}}