{"_id":"bun-webgpu","_rev":"11-8c7176201040b486b5ae3dff46f5991c","name":"bun-webgpu","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.0-rc.1":{"name":"bun-webgpu","version":"0.1.0-rc.1","license":"Apache-2.0","_id":"bun-webgpu@0.1.0-rc.1","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"dist":{"shasum":"8254bdcbb4b3488726baf1ee385bfe5159cd0a9d","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.0-rc.1.tgz","fileCount":54,"integrity":"sha512-VM2WV/XEkEitWY3ixGRgf7b2yRguJ8mb+tSV0+hgahiDhebKPNdoYDKbn4TJf6d2baJNsLIKPcny3A6ORLkLwQ==","signatures":[{"sig":"MEYCIQCmh7QiDvXI5QAFpEm1k+Xk1539Ew13wG1uCEGUdAGHmQIhALLHBZXNFuZRx4kZfcyjIWnv9wdcaohoe/yxnvNSRWzu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105972570},"main":"src/index.ts","type":"module","module":"src/index.ts","shasum":"8254bdcbb4b3488726baf1ee385bfe5159cd0a9d","scripts":{"test":"bun test","build:dev":"cd src/zig && zig build -Doptimize=Debug","build:prod":"cd src/zig && zig build -Doptimize=ReleaseFast","build:linux":"./build-linux.sh","build:windows":"pwsh build-windows.ps1"},"_npmUser":{"name":"kommander","actor":{"name":"kommander","type":"user","email":"rootkid815@gmail.com"},"email":"rootkid815@gmail.com"},"_integrity":"sha512-VM2WV/XEkEitWY3ixGRgf7b2yRguJ8mb+tSV0+hgahiDhebKPNdoYDKbn4TJf6d2baJNsLIKPcny3A6ORLkLwQ==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"sharp":"^0.34.0","commander":"^14.0.0","@types/bun":"latest","@webgpu/types":"^0.1.60"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.0-rc.1_1750623043696_0.7611403559357324","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-rc.2":{"name":"bun-webgpu","version":"0.1.0-rc.2","license":"Apache-2.0","_id":"bun-webgpu@0.1.0-rc.2","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"dist":{"shasum":"5c4bd49844da99574b3916ddf474443f512b036b","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.0-rc.2.tgz","fileCount":68,"integrity":"sha512-4W6ia17gLv/JiDLeTqVgvBFg7DtzDZGCcPU2cFD5SitSlkotgHIJpWDPHjsxpHMw2CoZJe+gjiOfApQV6rFjig==","signatures":[{"sig":"MEYCIQDGBHFU37vKzmCQl3UnLb5OoOensoEMyzMs0ji13JVUQAIhAL8cCzG/65MZubIViCDKy1FOvLQyTa7dBO3S/qyCri2R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":186247882},"main":"src/index.ts","type":"module","module":"src/index.ts","shasum":"5c4bd49844da99574b3916ddf474443f512b036b","scripts":{"test":"bun test","build:dev":"cd src/zig && zig build -Doptimize=Debug","build:prod":"cd src/zig && zig build -Doptimize=ReleaseFast","build:linux":"./build-linux.sh","build:windows":"pwsh build-windows.ps1"},"_npmUser":{"name":"kommander","actor":{"name":"kommander","type":"user","email":"rootkid815@gmail.com"},"email":"rootkid815@gmail.com"},"_integrity":"sha512-4W6ia17gLv/JiDLeTqVgvBFg7DtzDZGCcPU2cFD5SitSlkotgHIJpWDPHjsxpHMw2CoZJe+gjiOfApQV6rFjig==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"sharp":"^0.34.0","commander":"^14.0.0","@types/bun":"latest","@webgpu/types":"^0.1.60"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.0-rc.2_1750627539653_0.058792798774204735","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-rc.3":{"name":"bun-webgpu","version":"0.1.0-rc.3","license":"Apache-2.0","_id":"bun-webgpu@0.1.0-rc.3","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"dist":{"shasum":"0263337b58b46a451a6498e094831a0b9c50204b","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.0-rc.3.tgz","fileCount":55,"integrity":"sha512-UpBsieYvG2M4Fti3dDPnmND9QOPdskkYYK/eUPleSV8u+WXLOQFxpBRy7st/gZ/E6txBwHAn2r+xSsePvaraIQ==","signatures":[{"sig":"MEUCIQD3yEmdf1Fobyzv+SJ8RGpyL1SqxktAvX03fk9DPDWkuAIgaJlUnfbGmyO0B8CVA+HlYKx4VSneSlADJKJND091q/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59576269},"main":"src/index.ts","type":"module","module":"src/index.ts","shasum":"0263337b58b46a451a6498e094831a0b9c50204b","scripts":{"test":"bun test","build:dev":"cd src/zig && zig build -Doptimize=Debug","build:prod":"cd src/zig && zig build -Doptimize=ReleaseFast","build:linux":"./build-linux.sh","build:windows":"pwsh build-windows.ps1"},"_npmUser":{"name":"kommander","actor":{"name":"kommander","type":"user","email":"rootkid815@gmail.com"},"email":"rootkid815@gmail.com"},"_integrity":"sha512-UpBsieYvG2M4Fti3dDPnmND9QOPdskkYYK/eUPleSV8u+WXLOQFxpBRy7st/gZ/E6txBwHAn2r+xSsePvaraIQ==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"sharp":"^0.34.0","commander":"^14.0.0","@types/bun":"latest","@webgpu/types":"^0.1.60"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.0-rc.3_1750627920317_0.9112073099115681","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"bun-webgpu","version":"0.1.0","license":"Apache-2.0","_id":"bun-webgpu@0.1.0","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"dist":{"shasum":"86b32d4637a35aacf2c56f306cba6028a87e9cb3","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.0.tgz","fileCount":55,"integrity":"sha512-yHVpDFsxsvnMH8YI1kiMYZ75TlBZSVgSxgqtGVRkoxNIWdf5ZYgKctxzXYv3h9IKzSZ2dedhDQFoeEjgs6wfGA==","signatures":[{"sig":"MEYCIQDNnZgde0kWe5nSdmvAjB3hOMtMCHXqLY7mw1VJMJeCzQIhAOKs1OXqyt+CE6EIJ0M0ShO2Degx/SWdEV08DRZ53AFl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59576264},"main":"src/index.ts","type":"module","module":"src/index.ts","shasum":"86b32d4637a35aacf2c56f306cba6028a87e9cb3","scripts":{"test":"bun test","build:dev":"cd src/zig && zig build -Doptimize=Debug","build:prod":"cd src/zig && zig build -Doptimize=ReleaseFast","build:linux":"./build-linux.sh","build:windows":"pwsh build-windows.ps1"},"_npmUser":{"name":"kommander","actor":{"name":"kommander","type":"user","email":"rootkid815@gmail.com"},"email":"rootkid815@gmail.com"},"_integrity":"sha512-yHVpDFsxsvnMH8YI1kiMYZ75TlBZSVgSxgqtGVRkoxNIWdf5ZYgKctxzXYv3h9IKzSZ2dedhDQFoeEjgs6wfGA==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"sharp":"^0.34.0","commander":"^14.0.0","@types/bun":"latest","@webgpu/types":"^0.1.60"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.0_1750628846289_0.9327633733301293","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"bun-webgpu","version":"0.1.1","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"author":"SST","license":"Apache-2.0","_id":"bun-webgpu@0.1.1","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"homepage":"https://github.com/sst/bun-webgpu","bugs":{"url":"https://github.com/sst/bun-webgpu/issues"},"dist":{"shasum":"2dd8ee83846e19c7496443b3f48e8da6884d8cd6","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.1.tgz","fileCount":34,"integrity":"sha512-nuP9Ey0GoS5m7FUG8RNgtAnUtJurNIXpFvP/HlJYAUKeK2fojWFvLWMVLF8j4MQjJ2XsjERWcV1oh4jvW+cDDA==","signatures":[{"sig":"MEUCIQCEGXtOWZAA6aksBMu/zL8IaafkH2ep+801wIrDf18F+AIgNGfk1IdY98fp+4Cf4SIH8ARxigo62UOVxEmFFctnG+E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":426098},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","shasum":"2dd8ee83846e19c7496443b3f48e8da6884d8cd6","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.js"}},"_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"_integrity":"sha512-nuP9Ey0GoS5m7FUG8RNgtAnUtJurNIXpFvP/HlJYAUKeK2fojWFvLWMVLF8j4MQjJ2XsjERWcV1oh4jvW+cDDA==","repository":{"url":"https://github.com/sst/bun-webgpu","type":"git"},"_npmVersion":"10.8.3","description":"Native WebGPU implementation for Bun runtime","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@webgpu/types":"^0.1.60"},"_hasShrinkwrap":false,"optionalDependencies":{"bun-webgpu-linux-x64":"^0.1.1","bun-webgpu-win32-x64":"^0.1.1","bun-webgpu-darwin-x64":"^0.1.1","bun-webgpu-darwin-arm64":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.1_1755166560304_0.3577654355115698","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"bun-webgpu","version":"0.1.2","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"author":"SST","license":"Apache-2.0","_id":"bun-webgpu@0.1.2","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"homepage":"https://github.com/sst/bun-webgpu","bugs":{"url":"https://github.com/sst/bun-webgpu/issues"},"dist":{"shasum":"5e638d0c4684475b3ef77c24e1f910b6269f98b6","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.2.tgz","fileCount":34,"integrity":"sha512-pga6l0ZMy9pcdKnc2AL8N86fSv4riT6uuM3O9FkncDjq57CyFeyT2gIJSYBmYD5W7z5PLiG9npCdqSfL2yT57A==","signatures":[{"sig":"MEUCIBYYIw4xqucmJ+zwHaTGOLstOjqXA0erxVrZz1RTo8CaAiEAnbvGQku4ZasCUStu2SOkufP0C5tr/bjJMUsG4xpLf9M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":426098},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","shasum":"5e638d0c4684475b3ef77c24e1f910b6269f98b6","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.js"}},"_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"_integrity":"sha512-pga6l0ZMy9pcdKnc2AL8N86fSv4riT6uuM3O9FkncDjq57CyFeyT2gIJSYBmYD5W7z5PLiG9npCdqSfL2yT57A==","repository":{"url":"https://github.com/sst/bun-webgpu","type":"git"},"_npmVersion":"10.8.3","description":"Native WebGPU implementation for Bun runtime","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@webgpu/types":"^0.1.60"},"_hasShrinkwrap":false,"optionalDependencies":{"bun-webgpu-linux-x64":"^0.1.2","bun-webgpu-win32-x64":"^0.1.2","bun-webgpu-darwin-x64":"^0.1.2","bun-webgpu-darwin-arm64":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.2_1755170249102_0.15048188244154903","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"bun-webgpu","version":"0.1.3","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"author":"SST","license":"Apache-2.0","_id":"bun-webgpu@0.1.3","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"homepage":"https://github.com/kommander/bun-webgpu","bugs":{"url":"https://github.com/kommander/bun-webgpu/issues"},"dist":{"shasum":"c6a702ed496f07255351569595b94c56ba887062","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.3.tgz","fileCount":34,"integrity":"sha512-IXFxaIi4rgsEEpl9n/QVDm5RajCK/0FcOXZeMb52YRjoiAR1YVYK5hLrXT8cm+KDi6LVahA9GJFqOR4yiloVCw==","signatures":[{"sig":"MEUCIQCjWhzbkrgN191y/s3Ev3LMZ5iig09wBeJWCHnDNyOjbAIgfrqCV/rNtFR+n/8GW6OKBZMnPhaViGw5isPiXu2F77E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":426122},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","shasum":"c6a702ed496f07255351569595b94c56ba887062","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.js"}},"_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"_integrity":"sha512-IXFxaIi4rgsEEpl9n/QVDm5RajCK/0FcOXZeMb52YRjoiAR1YVYK5hLrXT8cm+KDi6LVahA9GJFqOR4yiloVCw==","repository":{"url":"https://github.com/kommander/bun-webgpu","type":"git"},"_npmVersion":"10.8.3","description":"Native WebGPU implementation for Bun runtime","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@webgpu/types":"^0.1.60"},"_hasShrinkwrap":false,"optionalDependencies":{"bun-webgpu-linux-x64":"^0.1.3","bun-webgpu-win32-x64":"^0.1.3","bun-webgpu-darwin-x64":"^0.1.3","bun-webgpu-darwin-arm64":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.3_1755179059888_0.11720265642782213","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"bun-webgpu","version":"0.1.4","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"author":{"name":"SST"},"license":"Apache-2.0","_id":"bun-webgpu@0.1.4","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"homepage":"https://github.com/kommander/bun-webgpu","bugs":{"url":"https://github.com/kommander/bun-webgpu/issues"},"dist":{"shasum":"46f5807e12bf1dca76ecb8643abf24d02b530d8a","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.4.tgz","fileCount":34,"integrity":"sha512-Kw+HoXl1PMWJTh9wvh63SSRofTA8vYBFCw0XEP1V1fFdQEDhI8Sgf73sdndE/oDpN/7CMx0Yv/q8FCvO39ROMQ==","signatures":[{"sig":"MEUCIQClppcjvBKMywmfoPWmL0Mdd6MzpMlRJ25H4XZJsrDiOQIgG+V1YBmttcW6CnNdsGAeE5kcb46uW4SnJUEYNzS91kg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":425881},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.js"}},"gitHead":"4a6192e056266a3a352c041b50d362da66420688","_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"repository":{"url":"git+https://github.com/kommander/bun-webgpu.git","type":"git"},"_npmVersion":"10.8.2","description":"Native WebGPU implementation for Bun runtime","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@webgpu/types":"^0.1.60"},"_hasShrinkwrap":false,"optionalDependencies":{"bun-webgpu-linux-x64":"^0.1.4","bun-webgpu-win32-x64":"^0.1.4","bun-webgpu-darwin-x64":"^0.1.4","bun-webgpu-darwin-arm64":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.4_1763023841736_0.5328392711773868","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"bun-webgpu","version":"0.1.5","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"author":{"name":"SST"},"license":"Apache-2.0","_id":"bun-webgpu@0.1.5","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"homepage":"https://github.com/kommander/bun-webgpu","bugs":{"url":"https://github.com/kommander/bun-webgpu/issues"},"dist":{"shasum":"838d14fcf30f30f1d9b2c6a8587e4a3f2e1778bd","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.5.tgz","fileCount":34,"integrity":"sha512-91/K6S5whZKX7CWAm9AylhyKrLGRz6BUiiPiM/kXadSnD4rffljCD/q9cNFftm5YXhx4MvLqw33yEilxogJvwA==","signatures":[{"sig":"MEUCIFx8r/2/Nx33/2E81YVLO/+TMAN6vi2scqV+XhhviyfvAiEA9keXuRtzR72jhMrKpgSY/68DsUz6t6lVlE4NHJyHzoE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":430239},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.js"}},"gitHead":"f26c04fe0d1fb9a841474f43740ef5ddc2559bed","_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"repository":{"url":"git+https://github.com/kommander/bun-webgpu.git","type":"git"},"_npmVersion":"10.8.2","description":"Native WebGPU implementation for Bun runtime","directories":{},"_nodeVersion":"20.20.0","dependencies":{"@webgpu/types":"^0.1.60"},"_hasShrinkwrap":false,"optionalDependencies":{"bun-webgpu-linux-x64":"^0.1.5","bun-webgpu-win32-x64":"^0.1.5","bun-webgpu-darwin-x64":"^0.1.5","bun-webgpu-darwin-arm64":"^0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.5_1771339703599_0.9846708622482163","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"bun-webgpu","version":"0.1.6","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"author":{"name":"SST"},"license":"Apache-2.0","_id":"bun-webgpu@0.1.6","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"homepage":"https://github.com/kommander/bun-webgpu","bugs":{"url":"https://github.com/kommander/bun-webgpu/issues"},"dist":{"shasum":"f3dab6a23ea714e82da9a90465cb4bf3832d5b33","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.6.tgz","fileCount":34,"integrity":"sha512-gw63vFcvQZxa+euS4dLKGEYU40pYvd7jg9bCYr/Ju4m7bWesTR/uGEqqjtOJaRabCYRr26D+zYJe10voe3WrVQ==","signatures":[{"sig":"MEUCIFsMO64M61gowx7cOHAsys+GHm9jd2SrSpEZhaQieAR0AiEAuLqflxI03k0GL3d+JP2Fn3NqnXKbwirmtNKhEMxXnS8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":430602},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.js"}},"gitHead":"9c174ecc6b6e6926c275654c27033651c862009b","_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"repository":{"url":"git+https://github.com/kommander/bun-webgpu.git","type":"git"},"_npmVersion":"10.8.2","description":"Native WebGPU implementation for Bun runtime","directories":{},"_nodeVersion":"20.20.1","dependencies":{"@webgpu/types":"^0.1.60"},"_hasShrinkwrap":false,"optionalDependencies":{"bun-webgpu-linux-x64":"^0.1.6","bun-webgpu-win32-x64":"^0.1.6","bun-webgpu-darwin-x64":"^0.1.6","bun-webgpu-darwin-arm64":"^0.1.6"},"_npmOperationalInternal":{"tmp":"tmp/bun-webgpu_0.1.6_1774371600946_0.25480763942027385","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"bun-webgpu","module":"index.js","main":"index.js","types":"index.d.ts","type":"module","version":"0.1.7","description":"Native WebGPU implementation for Bun runtime","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"license":"Apache-2.0","author":{"name":"SST"},"homepage":"https://github.com/kommander/bun-webgpu","repository":{"type":"git","url":"git+https://github.com/kommander/bun-webgpu.git"},"bugs":{"url":"https://github.com/kommander/bun-webgpu/issues"},"exports":{".":{"import":"./index.js","require":"./index.js","types":"./index.d.ts"}},"dependencies":{"@webgpu/types":"^0.1.60"},"optionalDependencies":{"bun-webgpu-darwin-x64":"^0.1.7","bun-webgpu-darwin-arm64":"^0.1.7","bun-webgpu-linux-x64":"^0.1.7","bun-webgpu-win32-x64":"^0.1.7"},"_id":"bun-webgpu@0.1.7","gitHead":"7be02a5357e47a54dcb83d03265ead19c7961d76","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-KUxUp+oQIf7pPBMD4Hv1TUu7DWaOZ4ciKulTk9to9+Uc8yHoYrMW7L2SJCJ4FHHkywgf/7aLRgRx0b7i6DvGIQ==","shasum":"9c15b4d6f33b2f5bbf8d42f4c36ba0d5ed4aa084","tarball":"https://registry.npmjs.org/bun-webgpu/-/bun-webgpu-0.1.7.tgz","fileCount":34,"unpackedSize":430374,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEH39yjWZqlcVkqxIdqCC61o+k7O5e+T8aYYR8ooFdIhAiEA0SuTYGlfa2fDM2brWX8eba2Thd/ncfNCgDE8/cIW+yY="}]},"_npmUser":{"name":"kommander","email":"rootkid815@gmail.com"},"directories":{},"maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bun-webgpu_0.1.7_1777383781861_0.22800435831957522"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-22T20:10:43.695Z","modified":"2026-04-28T13:43:02.114Z","0.1.0-rc.1":"2025-06-22T20:10:44.215Z","0.1.0-rc.2":"2025-06-22T21:25:41.105Z","0.1.0-rc.3":"2025-06-22T21:32:00.740Z","0.1.0":"2025-06-22T21:47:26.700Z","0.1.1":"2025-08-14T10:16:00.510Z","0.1.2":"2025-08-14T11:17:29.281Z","0.1.3":"2025-08-14T13:44:20.078Z","0.1.4":"2025-11-13T08:50:41.936Z","0.1.5":"2026-02-17T14:48:23.747Z","0.1.6":"2026-03-24T17:00:01.086Z","0.1.7":"2026-04-28T13:43:02.008Z"},"bugs":{"url":"https://github.com/kommander/bun-webgpu/issues"},"author":{"name":"SST"},"license":"Apache-2.0","homepage":"https://github.com/kommander/bun-webgpu","keywords":["webgpu","bun","gpu","graphics","compute","dawn"],"repository":{"type":"git","url":"git+https://github.com/kommander/bun-webgpu.git"},"description":"Native WebGPU implementation for Bun runtime","maintainers":[{"name":"kommander","email":"rootkid815@gmail.com"}],"readme":"# bun-webgpu\n\nWebGPU ([Dawn](https://dawn.googlesource.com/dawn)) FFI bindings for Bun.\n\n## Usage\n\n```ts\nimport { setupGlobals } from 'bun-webgpu';\n\nsetupGlobals();\n\nconst adapter = navigator.gpu.requestAdapter();\nconst device = await adapter?.requestDevice();\n\n// ... use WebGPU ...\n```\n\nFind out more about [WebGPU types here](https://gpuweb.github.io/types/).\n\n\n## Building\n\n_Note:_ There are prebuilt binaries in the pipeline artifacts.\n\n### Prerequisites\n\n*   **Bun**: Ensure you have BunJS installed. (https://bun.sh)\n*   **Zig**: The native components of this library are written in Zig. Ensure Zig is installed and available in your PATH. (https://ziglang.org/learn/getting-started/)\n*   **Pre-built Dawn Libraries**: This project relies on pre-built Dawn libraries.\n    *   See [packages/bun-webgpu/dawn/README.md](https://github.com/kommander/bun-webgpu/blob/HEAD/dawn/README.md) for details on how to download the required Dawn shared libraries.\n    * Basically just run `bun run ./dawn/download_artifacts.ts`\n\n### Building the FFI Liberary\n\nThe `package.json` includes scripts to build the native library components.\n\n*   `build:dev`\n*   `build:prod`\n\n## Conformance Test Suite (CTS)\n\nTo run the CTS, build the library first, then run the tests:\n\n```bash\n./run-cts.sh 'webgpu:api,operation,adapter,requestDevice:always_returns_device:*'\n```\n\nRun all webgpu tests for example with `./run-cts.sh 'webgpu:*'`\n\nCurrent results for `webgpu:api,*` are:\n```\n** Summary **\nPassed  w/o warnings = 39994 / 51160 =  78.17%\nPassed with warnings =     0 / 51160 =   0.00%\nSkipped              =  8290 / 51160 =  16.20%\nFailed               =  2876 / 51160 =   5.62%\n```\n\n## Testing\n\nTo run tests, build the library first, then run the tests:\n\n```bash\nbun test\n```\n","readmeFilename":"README.md"}