kss-parse
v0.1.8
Published
Parse KSS – documentation syntax for CSS.
Downloads
10
Readme
#kss-parse
Parse KSS, documentation syntax for CSS, and return as structured data. Originally forked from kss-node.
##Usage
var kss = require('kss-parse');
kss.getSections('./scss/', { mask: '*.scss' }, function(err, styleguide) {
console.log(styleguide);
//Flatten one of the sections
var section = kss.flattenSection(styleguide[8]);
console.log(section);
});