ahmadnassri / node-glob-promise

Promise version of glob

Home Page:https://www.npmjs.com/package/glob-promise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add helper methods to Glob instance

vjpr opened this issue · comments

const glob = new Glob
glob.sync()

await glob()

not sure what you mean here?

If you create and instance of Glob, can you use it with promises.

Originally I thought you could attach events if you created an instance of glob, but it seems you can only listen for match, end and error events. So maybe not useful anymore.