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

Tell me why you need this package?

kdzone opened this issue · comments

commented

I think this line of code does the same:
util.promisify(glob)(pattern[, options]);
20 releases?
52 starts?
What's the secret ?

no secret, I wish everybody would stop using this one line package ... I tried a while back, but for whatever reason people just want the package ... at one point, I marked it as "deprecated" and it didn't go well

the release counter (if you note the history) is mostly just automated dependabot dependency updates / ci-cd template sync with my template-node-lib...

originally this package was made in the early days of promises, and well-before util.promisify... I should have never published it.

honestly, even if they don't want to use util.promisify this is really just a couple of lines...

I'm stuck maintaining this ... I don't want to 🤷

glob 9.0.0 uses promises now, so even more of a reason for this not to exist.