Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Latest commit

 

History

History
14 lines (10 loc) · 419 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 419 Bytes

#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);
});