0.0.6 • Published 6 years ago

dirs-list v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

dirs-list Build Status codecov

get dir path list

中文 | english

Install

npm install dirs-list
yarn add dirs-list

Usage

const dirsList = require('dirs-list');

let res = await dirsList(__dirname, {match:["*node_modules"],ignore:["*.git"]})
//=> __dirname all node_modules, ignore *.git

API

dirsList(dir, options)

dir

name:dir
Type:string
Desc:dir path

options

match
name:match
Type:string|Array
Desc:match every, add the path
ignore
name:ignore
Type:string|Array
Desc:ignore some, pass the path

use by

License

MIT © chinanf-boy

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago