sindresorhus / p-limit

Run multiple promise-returning & async functions with limited concurrency
MIT License
1.97k stars 102 forks source link

target node or browser or both? #61

Closed mesqueeb closed 11 months ago

mesqueeb commented 2 years ago

hey! Does this target node or browser or both?

would love one line in the readme on this!

pckilgore commented 2 years ago

Answer: Node (see sindresorhus/p-queue#7)

kevlened commented 1 year ago

The only dependency is yocto-queue, which has no dependencies, and neither library uses node-specific or browser-specific APIs, so p-limit is usable in both environments.

sindresorhus commented 11 months ago

It works in browsers too.