normalize-glob
Normalize a glob pattern by expanding braces, making it absolute and resolving parent directories '..'.
Usage
; // using iteration protocolfor of normalizeGlob'../foo/*', process.cwd // converting the result to an arrayArray.fromnormalizeGlob'../foo/*', process.cwd;
Note that glob patterns are supposed to use forward slashes as directory separator. The cwd
parameter may use backslashes as directory separator on windows.