mkdir-file-tree-md
v1.0.1
Published
file tree as .md file
Downloads
3
Readme
mkdir-file-tree-md
file tree as .md file
Install
pnmp add mkdir-file-tree-md
Use
const { resolve } = require('path')
const mkdirTreeMd = require('mkdir-file-tree-md')
async function run() {
mkdirTreeMd({
entryDirPath: resolve(__dirname, '.'),
treeFilePath: resolve(__dirname, './DIR_TREE.md'),
ignore: [
'node_modules',
'.git',
'.DS_Store',
'dist',
'.temp',
'.vscode',
'.github'
]
})
}
run()
Args
defIgnore = [
'node_modules',
'.git',
'.DS_Store',
'dist',
'.temp',
'.vscode',
'.github'
]