fast-worker
Version:
Module for executing heavy tasks in parallel, by providing a `Promise` based interface, minimum overhead, and bound workers.
70 lines (69 loc) • 1.92 kB
JSON
{
"name": "fast-worker",
"version": "2.1.0",
"description": "Module for executing heavy tasks in parallel, by providing a `Promise` based interface, minimum overhead, and bound workers.",
"author": "xxXyh1908",
"license": "MIT",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"worker",
"worker-thread",
"worker-threads"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./dist/worker-entry": {
"import": "./dist/worker-entry.mjs"
},
"./package.json": "./package.json"
},
"scripts": {
"dev": "rollup -c --watch",
"build": "rollup -c",
"test": "vitest",
"test:ui": "vitest --ui",
"depcheck": "depcheck",
"prepublishOnly": "npm run build",
"release": "bumpp --commit --push --tag --all -x 'npx conventional-changelog -p angular -i CHANGELOG.md -s' && npm publish"
},
"engines": {
"node": ">12.2.0"
},
"devDependencies": {
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/fs-extra": "^9.0.13",
"@types/lodash-es": "^4.17.6",
"@types/node": ">12.2.0",
"@vitest/ui": "^0.21.0",
"bumpp": "^8.2.1",
"conventional-changelog-cli": "^2.2.2",
"fs-extra": "^10.1.0",
"lodash-es": "^4.17.21",
"rollup": "^2.77.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^3.0.2",
"typescript": "^4.7.4",
"vitest": "^0.21.0"
},
"repository": {
"type": "git",
"url": "https://gitee.com/xxXyh1908/fast-worker"
},
"bugs": {
"url": "https://gitee.com/xxXyh1908/fast-worker/issues"
},
"homepage": "https://gitee.com/xxXyh1908/fast-worker/#readme"
}