@alifd/sassdoc-parser

Sass 注释提取工具

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@alifd/sassdoc-parser
2.0.0a year agoa year agoMinified + gzip package size for @alifd/sassdoc-parser in KB

Readme

sassdoc-parser
注释JSON提取工具

Usage:

var co = require('co');
var parser = require('@alife/sassdoc-parser');

co(function* () {
    var obj = yield* parser('/root/path/xxx.scss');
    console.log(obj);
}).catch(function(err) {
    console.error(err);
});

Comment guide:

Look for Annotation guide or sassdoc.

Tip