md-summary
v0.1.2
Published
### 一、概述
Downloads
22
Readme
md-summary
一、概述
功能:
为当前目录下所有 md 文档生成目录
安装:
$ npm install md-summary -g
使用:
$ md-summary --limitDirs=排除的文件或项目1 --limitDirs=排除的文件或项目2 --input=搜索路径 --output=./index.md
example.config.json
let config = {
// 排除目录,避免读取不该读取的目录
limitDirs: ["node_modules", ".git", ".vscode"],
// 读取的根目录,通常为当前目录
input: "./",
// 输出文件目录及文件名
output: "./SUMMARY.md",
};