1.0.2 • Published 5 years ago

fs-deep v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

fs-deep

目录结构递归器,获取指定深度的目录树结构

使用方法

const fsDeep = require('fs-deep');

const dir = fsDeep('app', { 'layer': 4 });

NFT(dirPath, options)

  • dirPath String - 目录路径

  • options Object

    • layer Number - 递归深度

    • contain Array - 仅包含指定文件或目录,与exclude互斥,优先级高于exclude(可选)

    • exclude Array - 排除指定文件或目录,与contain互斥(可选)

1.0.2

5 years ago

1.0.1-alpha

5 years ago

1.0.0

5 years ago