verisass
v0.1.1
Published
Verify that your sass functions generate the css you expect.
Downloads
9
Readme
verisass
Verify that your sass functions generate the css you expect.
ve·ri·tas/wey-ri-tahs/ meaning truth, was the goddess of truth, a daughter of Saturn and the mother of Virtue.
var verisass = require('verisass');
verisass(path.join(fixtures, 'add-fn.scss'))
.run('x { x: add(1px, 2px)}', function (err, css, lines) {
console.log('css:', css);
console.log('lines:', lines);
});
Output
css: x {
x: 3px;
}
lines: [ 'x {', ' x: 3px;', '}' ]
Installation
npm install verisass
API
generated with docme
License
MIT