Showing 1-20 of 846,228 packages
js threadpool
Parallel operations in js. ThreadPool in js.
Fast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.
A worker_threads pool implementation based on the official Node.js async_hooks documentation
Threads for node
Fastest lz4 compression library in Node.js, powered by napi-rs and lz4-flex.
Universal thread pool 通用线程池
Thread pools using node's new worker_thread package
A better async DNS lookup function for Node.js that implements atomic cache operation.
A tiny threading library, made for browsers and Node.
Array#isArray for older browsers
Callback wrapping utility
Create a stream that emits events from multiple other streams
Allows users to use generators in order to write common functions that can be both sync or async.
Run a function exactly one time
基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等
Use node's fs.realpath, but fall back to the JS implementation if the native one fails
process.nextTick but always with args
CLI arguments parser. Native port of python's argparse.
Get the command from a shebang