sindresorhus / awesome-nodejs

:zap: Delightful Node.js packages and resources
https://node.cool
Creative Commons Zero v1.0 Universal
57.56k stars 5.81k forks source link

Add Async Library #1192

Closed sublimemm closed 1 year ago

sublimemm commented 1 year ago

https://github.com/caolan/async

a 50 million download weekly library. This is the goto library for organizing async work within an application.

I see highland listed (which is only 60k weekly downloads) which is by the same author, and may be a spiritual successor to Async, but the API is much more complicated and has increased scope (and is also not widely use).

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖

⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

sindresorhus commented 1 year ago

That package used to be great, but it didn't keep up with async/await, so it's not something I would recommend these days (Yes, it does have some async/await support, but most of the docs show off callback interface).

sublimemm commented 1 year ago

I'm not really following, there's full support for async and await since ES2017? It's mentioned right away on the Getting Started page.

"Async accepts async functions wherever we accept a Node-style callback function"