UNPKG

multithreading

Version:

⚡ Multithreading functions in JavaScript to speedup heavy workloads, designed to feel like writing vanilla functions.

73 lines 2.12 kB
{ "name": "multithreading", "version": "0.2.1", "description": "⚡ Multithreading functions in JavaScript to speedup heavy workloads, designed to feel like writing vanilla functions.", "author": "Walter van der Giessen <waltervdgiessen@gmail.com>", "homepage": "https://multithreading.io", "license": "MIT", "keywords": [ "multithreading", "threads", "webworkers", "parallel", "concurrent", "concurrency", "web-workers", "worker-threads" ], "types": "./dist/index.d.ts", "module": "./dist/index.mjs", "main": "./dist/index.js", "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "files": [ "dist/" ], "repository": { "type": "git", "url": "git+https://github.com/W4G1/multithreading.git" }, "publishConfig": { "access": "public" }, "engines": { "node": ">=20" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.23.6", "@babel/preset-env": "^7.23.6", "@babel/preset-typescript": "^7.23.3", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-inject": "^5.0.5", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-swc": "^0.3.0", "@rollup/plugin-terser": "^0.4.4", "@types/node": "^20.10.4", "cross-env": "^7.0.3", "jest": "^29.7.0", "nodemon": "^3.0.2", "rimraf": "^5.0.5", "rollup": "^4.8.0", "rollup-plugin-ts": "^3.4.5", "tslib": "^2.6.2", "typescript": "^5.3.3", "uuid": "^9.0.1" }, "scripts": { "build:worker": "rimraf .temp && rollup -c rollup.config.worker.js --configPlugin @rollup/plugin-swc", "build": "npm run build:worker && rollup -c rollup.config.js --configPlugin @rollup/plugin-swc && rimraf .temp", "dev": "nodemon", "prepublishOnly": "npm run build", "test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest" }, "bugs": { "url": "https://github.com/W4G1/multithreading/issues" }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.9.1" } }