UNPKG

@mcjxy/task-pool

Version:

Easy way to manage a pool of workers, support cluster mode(run tasks in different process), thread mode(run tasks in different thread) and normal mode(run tasks in current thread)!

61 lines (60 loc) 1.35 kB
{ "name": "@mcjxy/task-pool", "version": "1.1.8", "description": "Easy way to manage a pool of workers, support cluster mode(run tasks in different process), thread mode(run tasks in different thread) and normal mode(run tasks in current thread)!", "main": "index.js", "scripts": { "test": "node --experimental-worker ./test/test.js" }, "repository": { "type": "git", "url": "git+https://github.com/machenjie/task-pool.git" }, "keywords": [ "thread", "cluster", "pool", "worker_threads", "workers", "threads", "worker", "async", "cpu-bound", "parallelism", "parallel", "process", "worker_thread", "queue", "task", "manage", "tasks", "threadpool", "thread-pool", "clusterpool", "cluster-pool", "workerpool", "worker-pool", "taskpool", "task-pool", "manage-tasks", "task-manager" ], "author": { "name": "Chenjie Ma", "email": "yy909098@hotmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/machenjie/task-pool/issues" }, "homepage": "https://github.com/machenjie/task-pool#readme", "dependencies": { "is-promise": "^2.1.0", "uuid": "^3.3.3", "wait-notify": "^1.0.2" }, "devDependencies": { "eslint": "^6.5.1", "eslint-config-egg": "^7.5.1" } }