{"_id":"artichokie","_rev":"14-3bdcb7fa4c366c8ffb24e00848d1dbd7","name":"artichokie","dist-tags":{"beta":"0.4.0-beta.1","latest":"0.4.5"},"versions":{"0.0.0":{"name":"artichokie","version":"0.0.0","author":{"name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.0.0","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"dist":{"shasum":"288e9d0b8ffd077f7e2b0129feb1adf8c2f6e11c","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.0.0.tgz","fileCount":2,"integrity":"sha512-5C6bzeLjGymQmF6Xo1ymsxtMgyCZHLRhPTr2BPi/e79pAKfO+jbPI6tLdLKP3nSBY17LmprEHVmWwhldpCnNWA==","signatures":[{"sig":"MEYCIQDAElQjeB4BSv0W5+jlqU05d1Wd/klvH/4yw7YCQ9MQMgIhAPgzANGOzFlmzkYhpUU2FfEDSWZnDJ1swXdC+vzxqKGp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":186},"main":"index.js","type":"module","_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_npmVersion":"9.8.1","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.0.0_1698237629024_0.7839241644973807","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"artichokie","version":"0.1.0","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.1.0","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"7815f74e4e206b98cee12c0a12494d9869b031a0","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.1.0.tgz","fileCount":5,"integrity":"sha512-a1aMGGXwENT6PKlAcMGuc18mGIf+BoZ5zecvuJxVga6UTjiiMq8LSaT9FIni06YmBLIhP4l1u9jES4uZ97WE9w==","signatures":[{"sig":"MEUCIQCNV7RXeiGNedjAeUO+ltCwxGTfLuGNwt6w2hdQDWQCOwIgLzgzEoAZGNsG9QdjTtfvQzll0xtIgkCzWUjXGs/u3gs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10820},"type":"module","_from":"file:artichokie-0.1.0.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsup --watch","lint":"eslint --cache .","test":"vitest","build":"tsup","format":"prettier --cache --write .","type-check":"tsc --noEmit"},"_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_resolved":"/tmp/5b3ccc96daf54a884182699db353b7e7/artichokie-0.1.0.tgz","_integrity":"sha512-a1aMGGXwENT6PKlAcMGuc18mGIf+BoZ5zecvuJxVga6UTjiiMq8LSaT9FIni06YmBLIhP4l1u9jES4uZ97WE9w==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"10.1.0","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"tsup":"^7.2.0","eslint":"^8.53.0","vitest":"^0.34.6","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^18.18.8","eslint-plugin-vitest":"^0.3.9","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.1.0_1699374940228_0.5955756170345372","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"artichokie","version":"0.2.0","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.2.0","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"f698725bd5bd67b20a97cc2aa5e4996feac959d5","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.2.0.tgz","fileCount":5,"integrity":"sha512-LXtOFWUNABHEo49FJpwOf8VLzOJ1iGV9xu9ezwnveI75LIqGhUDDjMFo3MkUmtc+t3oDZRMATuVMrt6d8FCvrQ==","signatures":[{"sig":"MEUCIQCbKG/4sqtXmfiM7IPs6+15jVoH1FkA3efoDG/TRE1NSwIgeNoUo2eaTdVJx9eL79Mo/Gj3VL/UCW1IyH1ZglfERy0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11198},"type":"module","_from":"file:artichokie-0.2.0.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsup --watch","lint":"eslint --cache .","test":"vitest","build":"tsup","format":"prettier --cache --write .","type-check":"tsc --noEmit"},"_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_resolved":"/tmp/d84067ddd74d64ba6d598ae005875e96/artichokie-0.2.0.tgz","_integrity":"sha512-LXtOFWUNABHEo49FJpwOf8VLzOJ1iGV9xu9ezwnveI75LIqGhUDDjMFo3MkUmtc+t3oDZRMATuVMrt6d8FCvrQ==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"10.2.3","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"tsup":"^7.2.0","eslint":"^8.53.0","vitest":"^0.34.6","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^18.18.8","eslint-plugin-vitest":"^0.3.9","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.2.0_1701426458202_0.5994062162497507","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"artichokie","version":"0.2.1","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.2.1","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"6bffbdff2910443f8eff22a1fff42ab510654fe1","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.2.1.tgz","fileCount":5,"integrity":"sha512-IMVggYLh/GKYV2CFTp78QlR79qtSCSb/8oGeGKmfJ8q8gHOxg8xg7npLI0EIdRip9NYWmKf/QEtED76J4692Ww==","signatures":[{"sig":"MEYCIQCSI1FJhHqWwYY/q6ADLLBkP0UTt7uQtFMIaouHM9e63wIhAIz8tjDmGqR+9yAKH9Pyfz61kpl6UPCXhmraYNPzzpLl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11206},"type":"module","_from":"file:artichokie-0.2.1.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsup --watch","lint":"eslint --cache .","test":"vitest","build":"tsup","format":"prettier --cache --write .","type-check":"tsc --noEmit"},"_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_resolved":"/tmp/7e032a3848b5aabae62d9d984797628e/artichokie-0.2.1.tgz","_integrity":"sha512-IMVggYLh/GKYV2CFTp78QlR79qtSCSb/8oGeGKmfJ8q8gHOxg8xg7npLI0EIdRip9NYWmKf/QEtED76J4692Ww==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"10.5.2","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"tsup":"^8.0.2","eslint":"^8.53.0","vitest":"^1.4.0","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.11.30","eslint-plugin-vitest":"^0.5.4","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^7.3.1","@typescript-eslint/eslint-plugin":"^7.3.1"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.2.1_1716121708008_0.905108495479654","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"artichokie","version":"0.3.0","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.3.0","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"821b601954536996fd861790b31e9e4bdb94bed0","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.3.0.tgz","fileCount":5,"integrity":"sha512-Yc488sulEHuDKt/WS/I8otVEY71EkGTRjQjuRcoH9nilEVHdnZEeqhoz9NRbOAJL6eStpB/xFIkuRl8g51GuwA==","signatures":[{"sig":"MEUCIQDduUj7d17HcDeJ8X+Elv1S6fjmr4VqhU0O9okSTHKMVQIgHUMxdsfIAot8VBt36TZuWVIt8qc9wNwQFDqDeSqoOqk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15844},"type":"module","_from":"file:artichokie-0.3.0.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsup --watch","lint":"eslint --cache .","test":"vitest","build":"tsup","format":"prettier --cache --write .","type-check":"tsc --noEmit"},"_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_resolved":"/tmp/1b24d99984e5d09df8b734e252226b5f/artichokie-0.3.0.tgz","_integrity":"sha512-Yc488sulEHuDKt/WS/I8otVEY71EkGTRjQjuRcoH9nilEVHdnZEeqhoz9NRbOAJL6eStpB/xFIkuRl8g51GuwA==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"10.8.2","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"tsup":"^8.3.5","eslint":"^9.16.0","vitest":"^2.1.6","prettier":"^3.4.1","typescript":"^5.7.2","@types/node":"^20.17.9","typescript-eslint":"^8.16.0","@vitest/eslint-plugin":"^1.1.13","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.3.0_1734103296431_0.5691807444326487","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"artichokie","version":"0.3.1","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.3.1","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"c4217b515440663b98ca001fc9e2704e0e012fd9","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.3.1.tgz","fileCount":5,"integrity":"sha512-a/AXuaesjXZkeFSBB1VFZZl6f2SJuKyOcrRtaulV2+VUBHNroqbaehEzzA3mmGN1bXSlY6bDEgXBkf6OUj4T6A==","signatures":[{"sig":"MEYCIQDecV0/b9ToxqFT+vHzA7AJ+8AdMsktnI2wXjqC5uDAGAIhAKkLiIlzOst5r5R8TEuMbbTUk5PhjP4ZKb02UJIDxP16","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15935},"type":"module","_from":"file:artichokie-0.3.1.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsup --watch","lint":"eslint --cache .","test":"vitest","build":"tsup","format":"prettier --cache --write .","test-e2e":"vitest -c vitest.config.e2e.ts","type-check":"tsc --noEmit"},"_npmUser":{"name":"sapphi-red","email":"green@sapphi.red"},"_resolved":"/tmp/6b3c411fd9437f39e3505faf7f2d6eb0/artichokie-0.3.1.tgz","_integrity":"sha512-a/AXuaesjXZkeFSBB1VFZZl6f2SJuKyOcrRtaulV2+VUBHNroqbaehEzzA3mmGN1bXSlY6bDEgXBkf6OUj4T6A==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"10.8.2","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"tsup":"^8.3.5","eslint":"^9.16.0","vitest":"^2.1.6","prettier":"^3.4.1","typescript":"^5.7.2","@types/node":"^20.17.9","typescript-eslint":"^8.16.0","@vitest/eslint-plugin":"^1.1.13","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.3.1_1734429437445_0.4479074324670631","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"artichokie","version":"0.3.2","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.3.2","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"ff1a26dd7820fb228acfaec6ec49916564f99c43","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.3.2.tgz","fileCount":5,"integrity":"sha512-DOBIGtORx7L8bZNjWPeoGoDISpUgFXScvbFCAJsSvJ9V7rQ6C+lKYxcQ1tSBPVIAENLkiH2WxOkPVL26LvEfbA==","signatures":[{"sig":"MEYCIQCKq8+q7aW1JuVgzQxSOyUAz38ejJRNWyj+cDae7hmTPAIhAOpyZRewCuJwEzOObycO27ET3iu4yBaw6SyTR/XL4L6S","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15195},"type":"module","_from":"file:artichokie-0.3.2.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","test":"vitest","build":"tsdown","format":"prettier --cache --write .","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit","type-check":"tsc --noEmit"},"_npmUser":{"name":"sapphi-red","actor":{"name":"sapphi-red","type":"user","email":"green@sapphi.red"},"email":"green@sapphi.red"},"_resolved":"/tmp/aaef0131f9071a6e20b1a8a0856cf698/artichokie-0.3.2.tgz","_integrity":"sha512-DOBIGtORx7L8bZNjWPeoGoDISpUgFXScvbFCAJsSvJ9V7rQ6C+lKYxcQ1tSBPVIAENLkiH2WxOkPVL26LvEfbA==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"10.9.2","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","tsdown":"^0.12.9","vitest":"^3.2.4","prettier":"^3.6.2","@eslint/js":"^9.30.1","typescript":"^5.8.3","@types/node":"^20.19.4","typescript-eslint":"^8.35.1","@vitest/eslint-plugin":"^1.3.4","eslint-config-prettier":"^10.1.5"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.3.2_1751712828462_0.6281508226865411","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.1":{"name":"artichokie","version":"0.4.0-beta.1","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.4.0-beta.1","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"c055496197a96a19a5215a56aed4628346244b51","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.0-beta.1.tgz","fileCount":5,"integrity":"sha512-xP0/C3DYrqEyBSvnEJe4uiOAeiK/+MNflRKMwNpZr5SWX58Haz2h7pc34ZYJxfOlJtqYXjih6CZ+xc9LJ7mH1g==","signatures":[{"sig":"MEUCIAwAnvKZkpf3kJTVNB0nkmV3deYd40G/dtg2S+Zhf9/PAiEAxK4wezlD//uHLf1nqjbMPHb1cHa7onvWEGHNPIyz6M8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16121},"type":"module","_from":"file:artichokie-0.4.0-beta.1.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","test":"vitest","build":"tsdown","format":"prettier --cache --write .","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"_resolved":"/tmp/42b1ba5db183c7cb701be44f176fa6b0/artichokie-0.4.0-beta.1.tgz","_integrity":"sha512-xP0/C3DYrqEyBSvnEJe4uiOAeiK/+MNflRKMwNpZr5SWX58Haz2h7pc34ZYJxfOlJtqYXjih6CZ+xc9LJ7mH1g==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"11.5.2","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.32.0","tsdown":"^0.13.0","vitest":"^3.2.4","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^20.19.9","typescript-eslint":"^8.38.0","@vitest/eslint-plugin":"^1.3.4","eslint-config-prettier":"^10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.4.0-beta.1_1756357122329_0.065864515348516","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"artichokie","version":"0.4.0","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.4.0","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"1a0a8d5378da8002860ddad4f4b905cb04cb8367","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.0.tgz","fileCount":5,"integrity":"sha512-dBpBmA19hTRCTH19Egtpv2WYj1LUAS2JmtwkCGjpNV8yrCMSgLPiILHTdOFdOVDWpK0awS+I1JPxJTzigAVdJQ==","signatures":[{"sig":"MEQCIBigoTpP8sI06kKQFJ2NofQ2fCzsSNig00mJ2B2nsWCaAiAqp33jJxWhG88udrGI7PtKyWMPYIJiuRukMHLSKyq/LQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16114},"type":"module","_from":"file:artichokie-0.4.0.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","test":"vitest","build":"tsdown","format":"prettier --cache --write .","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"_resolved":"/tmp/768527cc145d0735c2b205b9689fbcc6/artichokie-0.4.0.tgz","_integrity":"sha512-dBpBmA19hTRCTH19Egtpv2WYj1LUAS2JmtwkCGjpNV8yrCMSgLPiILHTdOFdOVDWpK0awS+I1JPxJTzigAVdJQ==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"11.5.2","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.32.0","tsdown":"^0.13.0","vitest":"^3.2.4","prettier":"^3.6.2","@eslint/js":"^9.32.0","typescript":"^5.9.2","@types/node":"^20.19.9","typescript-eslint":"^8.38.0","@vitest/eslint-plugin":"^1.3.4","eslint-config-prettier":"^10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.4.0_1756435338709_0.9270113670448927","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"artichokie","version":"0.4.1","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.4.1","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"be817e9bdcc632f9bc54892a38357824cfccbd25","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.1.tgz","fileCount":5,"integrity":"sha512-vw0BTOIe5/dG63cGSh8VTrRreRuN3xj9vRQg7enElqvzwOl8d1i+2EuCxxsAzaK/sQlVSykEbYjFY8Faakv+hQ==","signatures":[{"sig":"MEYCIQC9rOVRlyGQssdeE6FpVkjzVSIsJpfms8kSdNoiMRYM5wIhAO3/hiIY+AV4/3875E5m5apXG/4lzWfMlpAp6ltTHFLj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16117},"type":"module","_from":"file:artichokie-0.4.1.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","test":"vitest","build":"tsdown","format":"prettier --cache --write .","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"_resolved":"/tmp/2f326f3830644c8347c8504813698df0/artichokie-0.4.1.tgz","_integrity":"sha512-vw0BTOIe5/dG63cGSh8VTrRreRuN3xj9vRQg7enElqvzwOl8d1i+2EuCxxsAzaK/sQlVSykEbYjFY8Faakv+hQ==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"11.6.1","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.36.0","tsdown":"^0.15.6","vitest":"^3.2.4","prettier":"^3.6.2","@eslint/js":"^9.36.0","typescript":"^5.9.3","@types/node":"^20.19.19","typescript-eslint":"^8.45.0","@vitest/eslint-plugin":"^1.3.13","eslint-config-prettier":"^10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.4.1_1759294116904_0.2448797387694739","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"artichokie","version":"0.4.2","keywords":["worker threads","thread pool"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.4.2","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"36dc3570961dd08cd8b466fa1ccf4359730d9333","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.2.tgz","fileCount":5,"integrity":"sha512-S9NYe2VBada7bd2f8VtbX0GAQwaKmK3Ze6VbYcfe/sDvMpwtIuJ0kIH2yN6LmYI4HG3saRqWwlMN2i2eVamUcA==","signatures":[{"sig":"MEQCIG8hr+LkQ/O3q6U3GdcX+Kz0jqZm1LQjMI3iY8sBF5H8AiA9Z2QEnQHJMD9FXJ+5J6ckAaZM/baqE1ayH8kLnnNwiQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16258},"type":"module","_from":"file:artichokie-0.4.2.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","test":"vitest","build":"tsdown","format":"prettier --cache --write .","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"_resolved":"/tmp/541c728ff32f093e4f9918a0a010d6cc/artichokie-0.4.2.tgz","_integrity":"sha512-S9NYe2VBada7bd2f8VtbX0GAQwaKmK3Ze6VbYcfe/sDvMpwtIuJ0kIH2yN6LmYI4HG3saRqWwlMN2i2eVamUcA==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"11.6.1","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.36.0","tsdown":"^0.15.6","vitest":"^3.2.4","prettier":"^3.6.2","@eslint/js":"^9.36.0","typescript":"^5.9.3","@types/node":"^20.19.19","typescript-eslint":"^8.45.0","@vitest/eslint-plugin":"^1.3.13","eslint-config-prettier":"^10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.4.2_1759295142350_0.5767608220219367","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"artichokie","version":"0.4.3","keywords":["thread pool","worker threads"],"author":{"url":"https://github.com/sapphi-red","name":"sapphi-red"},"license":"MIT","_id":"artichokie@0.4.3","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":[{"name":"Evan You"}],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"3cd3740d8069c3e5a3f7a71781f7ea0e327d3e37","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.3.tgz","fileCount":5,"integrity":"sha512-fD+TEeDUrUGP5WDXDXpiEBSp0gaDkQ1Pq1xEwUtXMNeF9ypOeQsDZRJ9Z/WoLtlMzeimPqtZDWKh2NPgcre3ww==","signatures":[{"sig":"MEUCIQD8LnAWtfMqTcP/MH15xIVtaz0vigr2+lgCLRVGvbWL5QIgYh7sKgkUzfbsLWkfJLexY7/o0m7GLZ+77Y1/dVMvlmM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16205},"type":"module","_from":"file:artichokie-0.4.3.tgz","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","funding":{"url":"https://github.com/sponsors/sapphi-red","type":"github"},"scripts":{"dev":"tsdown --watch","lint":"oxlint --type-aware --type-check --deny-warnings","test":"vitest","build":"tsdown","format":"oxfmt","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"_resolved":"/tmp/b4a56cbf615be5594282755c0c39b3de/artichokie-0.4.3.tgz","_integrity":"sha512-fD+TEeDUrUGP5WDXDXpiEBSp0gaDkQ1Pq1xEwUtXMNeF9ypOeQsDZRJ9Z/WoLtlMzeimPqtZDWKh2NPgcre3ww==","repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"_npmVersion":"11.12.1","description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.43.0","oxlint":"^1.58.0","tsdown":"^0.21.7","vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^20.19.37","oxlint-tsgolint":"^0.19.0"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.4.3_1775008071929_0.27153322524720647","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"artichokie","version":"0.4.4","keywords":["thread pool","worker threads"],"author":"sapphi-red (https://github.com/sapphi-red)","license":"MIT","_id":"artichokie@0.4.4","maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"contributors":["Evan You"],"homepage":"https://github.com/sapphi-red/artichokie#readme","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"74c4fa0d4666fc73850325d68ad2ea0ba389e483","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.4.tgz","fileCount":5,"integrity":"sha512-uJs+UYzJa/DNb/eWs2p4SxTNkNhiWq+b2MjAwWLubxZAdN5Fpa3z0hSDSFIGefu4SVJ2jAcA+QSxfOSI2cjKVg==","signatures":[{"sig":"MEQCIAOzMqDiec+v3O9C53dX+IuLXE/lTPdgbVIw2y0FLZ/0AiBupKiKgOT77xOf9Kt28eF3J4uwMH9dVBnoK2Ex+0wpuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16430},"type":"module","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","funding":{"url":"https://github.com/sponsors/sapphi-red","type":"github"},"scripts":{"dev":"tsdown --watch","lint":"oxlint --type-aware --type-check --deny-warnings","test":"vitest","build":"tsdown","format":"oxfmt","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"description":"Mutual callable worker thread pool with fallback.","directories":{},"_nodeVersion":"26.0.0","_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.48.0","oxlint":"^1.63.0","tsdown":"^0.21.10","vitest":"^4.1.5","typescript":"^6.0.3","@types/node":"^20.19.39","oxlint-tsgolint":"^0.22.1"},"_npmOperationalInternal":{"tmp":"tmp/artichokie_0.4.4_1782302596349_0.6853816938699882","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"_id":"artichokie@0.4.5","bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"dist":{"shasum":"77097f3ab7fecb6e5e6cbe6e868c813b233d2f22","tarball":"https://registry.npmjs.org/artichokie/-/artichokie-0.4.5.tgz","fileCount":5,"integrity":"sha512-ma9643oYgSgA6CeDvKIU0zxL1eKOkbgH8/v83xFpFYB2VOPFoEmmg1iC+ooHFjLIJ3qdtfwPbEKpIW3/YxPovg==","signatures":[{"sig":"MEUCIQDQ6wUVgQT2IaSj8/MAZV9GvYD9u6IQkqimD5RY7xs/0wIgLT3oNMbG1Snk2PD0sz/VBEfb2BQDzIb69Rg8bULh6ws=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDpfJy39uavcvqakKE2KJvS3V6xrhbij1l8L23P5wzXIAiAICnm8obmtdyANE3rVZWHlN0J9I+QPhrhLW6rfUPCZkg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/artichokie@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16757},"name":"artichokie","type":"module","author":"sapphi-red (https://github.com/sapphi-red)","engines":{"node":"^18.0.0 || >=20.0.0"},"exports":"./dist/index.js","funding":{"url":"https://github.com/sponsors/sapphi-red","type":"github"},"license":"MIT","scripts":{"dev":"tsdown --watch","lint":"oxlint --type-aware --type-check --deny-warnings","test":"vitest","build":"tsdown","format":"oxfmt","test:e2e":"vitest --project e2e","test:unit":"vitest --project unit"},"version":"0.4.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1c40aa9e-a6ee-4210-8310-d72054c282a9"}},"homepage":"https://github.com/sapphi-red/artichokie#readme","keywords":["thread pool","worker threads"],"repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"description":"Mutual callable worker thread pool with fallback.","directories":{},"maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"_nodeVersion":"26.0.0","contributors":["Evan You"],"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.68.0","oxlint":"^1.83.0","tsdown":"^0.23.0","vitest":"^4.1.10","typescript":"^7.0.2","@types/node":"^20.19.43","oxlint-tsgolint":"^7.0.2002"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/artichokie_0.4.5_1789826530516_0.36230488082441914"}}},"time":{"created":"2023-10-25T12:40:29.023Z","modified":"2026-09-19T14:02:10.964Z","0.0.0":"2023-10-25T12:40:29.235Z","0.1.0":"2023-11-07T16:35:40.486Z","0.2.0":"2023-12-01T10:27:38.367Z","0.2.1":"2024-05-19T12:28:28.215Z","0.3.0":"2024-12-13T15:21:36.648Z","0.3.1":"2024-12-17T09:57:17.603Z","0.3.2":"2025-07-05T10:53:48.644Z","0.4.0-beta.1":"2025-08-28T04:58:42.509Z","0.4.0":"2025-08-29T02:42:18.890Z","0.4.1":"2025-10-01T04:48:37.097Z","0.4.2":"2025-10-01T05:05:42.537Z","0.4.3":"2026-04-01T01:47:52.056Z","0.4.4":"2026-06-24T12:03:16.494Z","0.4.5":"2026-09-19T14:02:10.613Z"},"bugs":{"url":"https://github.com/sapphi-red/artichokie/issues"},"author":"sapphi-red (https://github.com/sapphi-red)","license":"MIT","homepage":"https://github.com/sapphi-red/artichokie#readme","keywords":["thread pool","worker threads"],"repository":{"url":"git+https://github.com/sapphi-red/artichokie.git","type":"git"},"description":"Mutual callable worker thread pool with fallback.","contributors":["Evan You"],"maintainers":[{"name":"sapphi-red","email":"green@sapphi.red"}],"readme":"# artichokie\n\n[![npm version](https://badge.fury.io/js/artichokie.svg)](https://badge.fury.io/js/artichokie) ![CI](https://github.com/sapphi-red/artichokie/workflows/CI/badge.svg) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)\n\n> Okie dokie artichokie\n\nMutual callable worker thread pool with fallback. Based on [okie](https://github.com/yyx990803/okie).\n\n## Features\n\n- worker pool\n- calling functions in the main thread from the worker\n- falling back to run the code in the main thread\n\n> [!NOTE]\n> The [structured clone algorithm](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm) is used to pass the values between the worker thread and the main thread. Some object properties may be dropped because of that. If needed, you can serialize the vaules manually before returning on the worker thread side.\n\n## Examples\n\n```js\nconst parent = async () => 1\nconst syncParent = () => 2\nconst worker = new Worker(\n  () => async () => {\n    return (await parent()) + syncParent() + 1\n  },\n  {\n    parentFunctions: { parent, syncParent },\n  },\n)\n\nconst result = await worker.run()\nconsole.log(result) // 4\n\nworker.stop()\n```\n\n```js\nconst infSymbol = Symbol('inf')\nconst isInf = async (n: number | symbol) => n === infSymbol\n\nconst worker = new WorkerWithFallback(\n  () => async (n: number | symbol) => {\n    return await isInf(n) ? Infinity : 0\n  },\n  {\n    parentFunctions: { isInf },\n    shouldUseFake(n) {\n      // symbol cannot be passed to a worker\n      // fallback to run the code in main thread in that case\n      return typeof n === 'symbol'\n    }\n  }\n)\n\nconst results = await Promise.all([\n  worker.run(1),\n  worker.run(infSymbol)\n])\nconsole.log(results) // [0, Infinity]\n\nworker.stop()\n```\n","readmeFilename":""}