dir-glob
Convert directories to glob compatible strings
Install
Usage
API
dirGlob(input, [options])
Returns a Promise
for an array of glob strings.
dirGlob.sync(input, [options])
Returns an array of glob strings.
input
Type: Array
string
A string
or an Array
of paths.
options
extensions
Type: Array
Append extensions to the end of your globs.
files
Type: Array
Only glob for certain files.
License
MIT © Kevin Mårtensson
Last updated