dir2
Get all directories within a directory.
Install
$ npm install --save dir2
Usage
const dir2 = // async // syncdir2
API
dir2(sourceDirectory, [options])
sourceDirectory
Type: string
Required: true
The directory to look into.
options
prefix
Type: Boolean
Default: false
Prefixing source path to returned directory name. Like .git
=> /source/path/.git
.
License
MIT © EGOIST