{
- "name": "node-pool.",
- "version": "0.0.1",
- "description": "Library on top of node js worker threads that implement various worker pools type",
- "main": "index.js",
+ "name": "poolifier",
+ "version": "2.4.14",
+ "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
+ "license": "MIT",
+ "main": "./lib/index.js",
+ "exports": {
+ ".": {
+ "require": "./lib/index.js",
+ "import": "./lib/index.mjs"
+ }
+ },
"scripts": {
- "build": "npm install",
- "test": "standard && nyc mocha --experimental-worker --exit --timeout 10000 tests/*test.js ",
- "demontest": "nodemon --exec \"npm test\"",
- "coverage": "nyc report --reporter=text-lcov --timeout 5000 **/*test.js | coveralls",
- "standard-verbose": "npx standard --verbose",
- "lint": "standard --fix"
+ "preinstall": "npx --yes only-allow pnpm",
+ "prepare": "node prepare.js",
+ "build": "rollup --config --environment BUILD:development",
+ "build:analyze": "rollup --config --environment ANALYZE,BUILD:development",
+ "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
+ "build:prod": "rollup --config",
+ "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.js",
+ "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.js",
+ "benchmark:prod": "pnpm build:prod && node -r source-map-support/register benchmarks/internal/bench.js",
+ "test": "pnpm build && c8 mocha 'tests/**/*.test.js'",
+ "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'",
+ "coverage": "c8 report --reporter=lcov",
+ "coverage:html": "c8 report --reporter=html",
+ "format": "prettier . --cache --write; ts-standard . --fix",
+ "lint": "eslint . --cache",
+ "lint:fix": "eslint . --cache --fix",
+ "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
+ "release": "release-it",
+ "typedoc": "typedoc",
+ "prepublishOnly": "pnpm build:prod"
+ },
+ "ts-standard": {
+ "globals": [
+ "describe",
+ "it",
+ "before",
+ "after",
+ "beforeEach",
+ "afterEach"
+ ]
+ },
+ "engines": {
+ "node": ">=16.0.0",
+ "pnpm": ">=8.0.0"
+ },
+ "volta": {
+ "node": "20.2.0",
+ "pnpm": "8.5.1"
},
"repository": {
"type": "git",
- "url": "git+https://github.com/pioardi/node-pool.git"
+ "url": "git+https://github.com/poolifier/poolifier.git"
},
"keywords": [
"node",
- "thread-pool",
+ "pool",
+ "workers pool",
+ "threads pool",
"worker-threads",
+ "cluster",
+ "cluster worker",
+ "concurrency",
"performance",
"cpu",
"computing",
- "async-resource"
+ "async computing",
+ "async resource"
],
- "standard": {
- "env": [
- "mocha",
- "node"
- ]
- },
"author": "pioardi",
- "license": "MIT",
+ "contributors": [
+ {
+ "name": "Christopher Quadflieg",
+ "email": "chrissi92@hotmail.de",
+ "url": "https://github.com/Shinigami92"
+ },
+ {
+ "name": "Jérôme Benoit",
+ "email": "jerome.benoit@piment-noir.org",
+ "url": "https://github.com/jerome-benoit"
+ }
+ ],
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/poolifier"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/poolifier"
+ }
+ ],
"bugs": {
- "url": "https://github.com/pioardi/node-pool/issues"
- },
- "homepage": "https://github.com/pioardi/node-pool#readme",
- "dependencies": {
- "uuid": "^3.4.0"
+ "url": "https://github.com/poolifier/poolifier/issues"
},
+ "homepage": "https://github.com/poolifier/poolifier#readme",
+ "files": [
+ "lib"
+ ],
"devDependencies": {
- "coveralls": "^3.0.9",
- "expect": "^24.9.0",
- "mocha": "^7.0.0",
- "mocha-lcov-reporter": "^1.3.0",
- "nyc": "^15.0.0",
- "standard": "^14.3.1"
+ "@commitlint/cli": "^17.6.3",
+ "@commitlint/config-conventional": "^17.6.3",
+ "@release-it/bumper": "^4.0.2",
+ "@release-it/keep-a-changelog": "^3.1.0",
+ "@rollup/plugin-terser": "^0.4.3",
+ "@rollup/plugin-typescript": "^11.1.1",
+ "@types/node": "^20.2.1",
+ "@typescript-eslint/eslint-plugin": "^5.59.6",
+ "@typescript-eslint/parser": "^5.59.6",
+ "benny": "^3.7.1",
+ "c8": "^7.13.0",
+ "eslint": "^8.40.0",
+ "eslint-config-standard": "^17.0.0",
+ "eslint-config-standard-with-typescript": "^34.0.1",
+ "eslint-define-config": "^1.20.0",
+ "eslint-import-resolver-typescript": "^3.5.5",
+ "eslint-plugin-import": "^2.27.5",
+ "eslint-plugin-jsdoc": "^44.2.4",
+ "eslint-plugin-n": "^16.0.0",
+ "eslint-plugin-promise": "^6.1.1",
+ "eslint-plugin-spellcheck": "^0.0.20",
+ "eslint-plugin-tsdoc": "^0.2.17",
+ "expect": "^29.5.0",
+ "husky": "^8.0.3",
+ "lint-staged": "^13.2.2",
+ "microtime": "^3.1.1",
+ "mocha": "^10.2.0",
+ "mochawesome": "^7.1.3",
+ "prettier": "^2.8.8",
+ "release-it": "^15.10.3",
+ "rollup": "^3.22.0",
+ "rollup-plugin-analyzer": "^4.0.0",
+ "rollup-plugin-command": "^1.1.3",
+ "rollup-plugin-delete": "^2.0.0",
+ "sinon": "^15.1.0",
+ "source-map-support": "^0.5.21",
+ "ts-standard": "^12.0.2",
+ "typedoc": "^0.24.7",
+ "typescript": "^5.0.4"
}
}