UNPKG

worktank

Version:

A simple isomorphic library for executing functions inside WebWorkers or Node Threads pools.

44 lines (43 loc) 1.14 kB
{ "name": "worktank", "repository": "github:fabiospampinato/worktank", "description": "A simple isomorphic library for executing functions inside WebWorkers or Node Threads pools.", "license": "MIT", "version": "3.0.2", "type": "module", "main": "dist/index.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "clean": "tsex clean", "compile:lib": "tsex compile", "compile:lib:watch": "tsex compile --watch", "compile:worker": "bash ./tasks/compile_worker.sh", "compile": "npm run compile:worker && npm run compile:lib", "test": "tsex test", "test:watch": "tsex test --watch", "prepublishOnly": "npm run clean && npm run compile && npm run test" }, "keywords": [ "work", "pool", "webworker", "worker", "thread", "isomorphic", "browser", "node" ], "dependencies": { "isoconcurrency": "^1.0.0", "isotimer": "^1.0.0", "promise-make-naked": "^3.0.2", "webworker-shim": "^1.1.4" }, "devDependencies": { "esbuild": "^0.25.5", "fava": "^0.3.5", "tsex": "^4.0.2", "typescript": "^5.8.3" } }