{"_id":"@danielsimonjr/mathts-gpu","_rev":"4-bb2448dc214ba9884615f7dfdb6a0cc9","name":"@danielsimonjr/mathts-gpu","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@danielsimonjr/mathts-gpu","version":"0.1.0","keywords":["math","webgpu","gpu","typescript","compute"],"author":{"name":"Daniel Simon Jr."},"license":"MIT","_id":"@danielsimonjr/mathts-gpu@0.1.0","maintainers":[{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"}],"homepage":"https://github.com/danielsimonjr/mathts#readme","bugs":{"url":"https://github.com/danielsimonjr/mathts/issues"},"dist":{"shasum":"d9b675c9c6d45bed22762db51d3dfefa8e3b462d","tarball":"https://registry.npmjs.org/@danielsimonjr/mathts-gpu/-/mathts-gpu-0.1.0.tgz","fileCount":4,"integrity":"sha512-V2VtrLZa3NAfrwu2v35sr9EaXYLrBbdOmYirAkxOhrEj9b5cs4h4OAFtWHJnz/SR12SCpR9t+4A0cViYcSXCYg==","signatures":[{"sig":"MEYCIQDkqzwKr00so30YSrzwUkg5DgtW6tXmhs5MLML6sqm9qQIhAMet82gqWKAltS4vshT8gbiqHrvAQrxtwZ2FWDP/C9JW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36496},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7e30ca5047cc86aa06e1e8cb1aa1fc3e1b250a8d","scripts":{"dev":"tsup src/index.ts --format esm --dts --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsup src/index.ts --format esm --dts --clean && node ../tools/inject-webgpu-types-ref.mjs dist/index.d.ts","clean":"rm -rf dist","lint:fix":"eslint src --ext .ts --fix","typecheck":"tsc --noEmit","build:prod":"tsup src/index.ts --format esm --dts --clean --minify --treeshake && node ../tools/inject-webgpu-types-ref.mjs dist/index.d.ts","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"},"repository":{"url":"git+https://github.com/danielsimonjr/mathts.git","type":"git","directory":"gpu"},"_npmVersion":"11.16.0","description":"Shared WebGPU foundation for MathTS — device/context lifecycle, buffer pool, and a generic shader manager (no domain kernels)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@webgpu/types":"^0.1.67"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.5","typescript":"^5.3.0","@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/mathts-gpu_0.1.0_1783944467125_0.33048776569481575","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@danielsimonjr/mathts-gpu","version":"0.1.1","keywords":["math","webgpu","gpu","typescript","compute"],"author":{"name":"Daniel Simon Jr."},"license":"MIT","_id":"@danielsimonjr/mathts-gpu@0.1.1","maintainers":[{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"}],"homepage":"https://github.com/danielsimonjr/mathts#readme","bugs":{"url":"https://github.com/danielsimonjr/mathts/issues"},"dist":{"shasum":"933703c2e6488248972706fa9a648822d5eed706","tarball":"https://registry.npmjs.org/@danielsimonjr/mathts-gpu/-/mathts-gpu-0.1.1.tgz","fileCount":4,"integrity":"sha512-OU1TI2Y/BqSx4CYu+y7OOvpXdur8rY9I5XURGZZbQ4RZmEIiYxyjjf2Vr6PI1hsoBIF1Ka/BzbcTysZP2FfBFg==","signatures":[{"sig":"MEUCIQDnBAHEh26tgg0sg9Hsr5G6kZ9Fzc+gHebM3Ot1dvBKjAIgfvlCukccFOYAZLvglXMdqc8T39n+EnlZE4RUWnVYFfg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36477},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"bbbc7d99440f8444f2c57d04fb879ef573b1be32","scripts":{"dev":"tsup src/index.ts --format esm --dts --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","lint:fix":"eslint src --ext .ts --fix","typecheck":"tsc --noEmit","build:prod":"tsup src/index.ts --format esm --dts --clean --minify --treeshake","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"},"repository":{"url":"git+https://github.com/danielsimonjr/mathts.git","type":"git","directory":"gpu"},"_npmVersion":"10.9.4","description":"Shared WebGPU foundation for MathTS — device/context lifecycle, buffer pool, and a generic shader manager (no domain kernels)","directories":{},"_nodeVersion":"24.18.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.5","typescript":"^5.3.0","@types/node":"^25.5.2","@webgpu/types":"^0.1.67"},"peerDependencies":{"@webgpu/types":"^0.1.67"},"peerDependenciesMeta":{"@webgpu/types":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mathts-gpu_0.1.1_1783959414991_0.22785168899398567","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@danielsimonjr/mathts-gpu","version":"0.2.0","keywords":["math","webgpu","gpu","typescript","compute"],"author":{"name":"Daniel Simon Jr."},"license":"MIT","_id":"@danielsimonjr/mathts-gpu@0.2.0","maintainers":[{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"}],"homepage":"https://github.com/danielsimonjr/mathts#readme","bugs":{"url":"https://github.com/danielsimonjr/mathts/issues"},"dist":{"shasum":"a748035358fb832ff6ae21176f2ab14da34db6f9","tarball":"https://registry.npmjs.org/@danielsimonjr/mathts-gpu/-/mathts-gpu-0.2.0.tgz","fileCount":4,"integrity":"sha512-jpLlicRh92ueyLyA5++M6YZwkNXYm3nmoPDwpLK9hO9J2rQRNUr2Xg1ngZgbOuw2B2Y76ApQse6YMdmb+OQdXQ==","signatures":[{"sig":"MEUCIQDZWkizGY6987qdMIIZ2HkTvMLxE3sA5XBRsLkgeNHjXAIgZTZl9LQBPKSd+Gv74DoYNL9PEH4yf9taRQUwV1Ljx1Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38044},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"04b0f64eccb88cd2ecabfb048eb5bfef884ef0b6","scripts":{"dev":"tsup src/index.ts --format esm --dts --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsup src/index.ts --format esm --dts --clean","clean":"rm -rf dist","lint:fix":"eslint src --ext .ts --fix","typecheck":"tsc --noEmit","build:prod":"tsup src/index.ts --format esm --dts --clean --minify --treeshake","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"},"repository":{"url":"git+https://github.com/danielsimonjr/mathts.git","type":"git","directory":"gpu"},"_npmVersion":"10.9.4","description":"Shared WebGPU foundation for MathTS — device/context lifecycle, buffer pool, and a generic shader manager (no domain kernels)","directories":{},"_nodeVersion":"24.18.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.5","typescript":"^5.3.0","@types/node":"^25.5.2","@webgpu/types":"^0.1.67"},"peerDependencies":{"@webgpu/types":"^0.1.67"},"peerDependenciesMeta":{"@webgpu/types":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mathts-gpu_0.2.0_1784026640293_0.7252397544589184","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"@danielsimonjr/mathts-gpu@0.2.1","bugs":{"url":"https://github.com/danielsimonjr/MathTS/issues"},"dist":{"shasum":"687d2af7f3d6206acfa928140466d606da695c3f","tarball":"https://registry.npmjs.org/@danielsimonjr/mathts-gpu/-/mathts-gpu-0.2.1.tgz","fileCount":19,"integrity":"sha512-bxfmnIeM7hhtOoq6EvidPghzpjcxgoi7SWFeVfjU+kxbO/NNbOFo4deYFfvmOjCJ8fNTi/YisxouZHWlPZmfcQ==","signatures":[{"sig":"MEUCIQDH2DbBMg+/j4xfJMnYPeX3f6i4NvChkWnkvyn8UMAAlQIgMgiu+S1kNgumVagaX8ApuLn7PoqZYMHhXmAQiYFy58I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICGt4NpLiyKOM1LZtMAMIA7rCtkvmx4Qt3FHUUFBhXZoAiAq13ZIxYK0CB8pvN7S7bCj8c30tYewSg/Du1lXMqfD9Q=="}],"unpackedSize":47662},"main":"./dist/index.js","name":"@danielsimonjr/mathts-gpu","type":"module","types":"./dist/index.d.ts","author":{"name":"Daniel Simon Jr."},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b7a94b3d7769be2026134397ee783adbf96327b8","license":"MIT","scripts":{"dev":"tsup src/index.ts --format esm --dts --watch","lint":"oxlint src","test":"bun test --isolate --timeout 30000","build":"tsup src/index.ts --format esm --clean && tsc -p tsconfig.dts.json","clean":"rm -rf dist","lint:fix":"oxlint src --fix","typecheck":"tsc --noEmit","build:prod":"tsup src/index.ts --format esm --dts --clean --minify --treeshake","test:watch":"vitest","test:coverage":"bun test --isolate --timeout 30000 --coverage"},"version":"0.2.1","_npmUser":{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"},"homepage":"https://github.com/danielsimonjr/MathTS#readme","keywords":["math","webgpu","gpu","typescript","compute"],"repository":{"url":"git+https://github.com/danielsimonjr/MathTS.git","type":"git","directory":"gpu"},"_npmVersion":"11.17.0","description":"Shared WebGPU foundation for MathTS — device/context lifecycle, buffer pool, and a generic shader manager (no domain kernels)","directories":{},"maintainers":[{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"}],"_nodeVersion":"24.19.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^5.0.0","typescript":"^7.0.2","@types/node":"^26.4.0","@webgpu/types":"^0.1.72"},"peerDependencies":{"@webgpu/types":"^0.1.72"},"peerDependenciesMeta":{"@webgpu/types":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mathts-gpu_0.2.1_1789863707728_0.6657476722038413"}}},"time":{"created":"2026-07-13T12:07:46.979Z","modified":"2026-09-20T00:21:48.024Z","0.1.0":"2026-07-13T12:07:47.344Z","0.1.1":"2026-07-13T16:16:55.126Z","0.2.0":"2026-07-14T10:57:20.435Z","0.2.1":"2026-09-20T00:21:47.811Z"},"bugs":{"url":"https://github.com/danielsimonjr/MathTS/issues"},"author":{"name":"Daniel Simon Jr."},"license":"MIT","homepage":"https://github.com/danielsimonjr/MathTS#readme","keywords":["math","webgpu","gpu","typescript","compute"],"repository":{"url":"git+https://github.com/danielsimonjr/MathTS.git","type":"git","directory":"gpu"},"description":"Shared WebGPU foundation for MathTS — device/context lifecycle, buffer pool, and a generic shader manager (no domain kernels)","maintainers":[{"name":"danielsimonjr","email":"danielsimonjr@yahoo.com"}],"readme":"# @danielsimonjr/mathts-gpu\n\nThe shared WebGPU foundation for MathTS: `GPUContext` (device/adapter\nlifecycle), a shared `getGpuDevice()` singleton, `BufferPool`, `detect`\n(capability probing), and a **generic** `ShaderManager` (compile/cache/pipeline\ninfra + a name→code shader registration API). This package ships **no domain\nkernels** — matrix-specific WGSL (matmul/transpose/reduce) lives in\n`@danielsimonjr/mathts-matrix`, which registers those shaders onto a\n`ShaderManager` at backend init.\n\nWebGPU is browser-only (`navigator.gpu`); in Node every entry point degrades\ngracefully — `getGpuDevice()` resolves to `null` and `GPUContext.initialize()`\nresolves `false` without throwing.\n\nTracked by CDG/DGT (`create-dependency-graph`) as a leaf: `matrix → gpu`,\n`functions → gpu` (functions edge lands in a later spec), with no back-edge.\n","readmeFilename":"README.md"}