sassdoc-parser
注释JSON提取工具
Installation
$ npm install @no-repeat/sassdoc-parser --save
Node.js >= 8.0.0 required. Sass compiled with dart2js 2.0.0 required.
Getting Started
const sassdocParser = require('@no-repeat/sassdoc-parser');
async function getSassDoc(merged) {
return await sassdocParser([
path.join(__dirname, 'assets/color.scss'),
path.join(__dirname, 'assets/button.scss'),
]);
}