{"versions":{"1.0.0":{"name":"gpuu","type":"module","version":"1.0.0","description":"A collection of utilities for working with GPUs, especially for WebGPU.","author":{"name":"Neko Ayaka","email":"neko@ayaka.moe","url":"https://github.com/nekomeowww"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/moeru-ai/airi.git","directory":"packages/gpuu"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./webgpu":{"types":"./dist/webgpu/index.d.ts","import":"./dist/webgpu/index.mjs","require":"./dist/webgpu/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4"},"devDependencies":{"@types/node":"^22.14.0","@webgpu/types":"^0.1.60"},"scripts":{"dev":"pnpm run stub","stub":"unbuild --stub","build":"unbuild","typecheck":"tsc --noEmit"},"_id":"gpuu@1.0.0","bugs":{"url":"https://github.com/moeru-ai/airi/issues"},"homepage":"https://github.com/moeru-ai/airi#readme","_integrity":"sha512-8BpEnSniZsG34B8zZKxl/ZgNuh5VK+3EPzKgLJ4sezMmIkmUHxN2WY7Bj+7aTqvNBgbikP6sfWOIADHo+wAqiA==","_resolved":"/private/var/folders/fl/7k_qwby965z_jbz3wq5s38s80000gn/T/782d8d4feef478c3064cda7c8b1ae751/gpuu-1.0.0.tgz","_from":"file:gpuu-1.0.0.tgz","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-8BpEnSniZsG34B8zZKxl/ZgNuh5VK+3EPzKgLJ4sezMmIkmUHxN2WY7Bj+7aTqvNBgbikP6sfWOIADHo+wAqiA==","shasum":"8da3f15f6687a9b464352fdce8a26cfec070198e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gpuu/-/gpuu-1.0.0.tgz","fileCount":12,"unpackedSize":5383,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD4xzEqBqCPhL2f2GOwqkiXGFjj4/8Xm9QmQGgyR3Ct2gIhAILsiPl6cJMkPa17EwBA8ZGIC6s241t+iPzbYB5NVKxm"}],"size":2066},"_npmUser":{"name":"anonymous","email":"rbxin2003@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"rbxin2003@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpuu_1.0.0_1745060870521_0.6619442692517381"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-19T11:07:50.707Z","publish_time":1745060870707,"_source_registry_name":"default","contributors":[]},"1.0.2":{"name":"gpuu","type":"module","version":"1.0.2","description":"A collection of utilities for working with GPUs, especially for WebGPU.","author":{"name":"Neko Ayaka","email":"neko@ayaka.moe","url":"https://github.com/nekomeowww"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/moeru-ai/gpuu.git"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs"},"./webgpu":{"types":"./dist/webgpu/index.d.ts","import":"./dist/webgpu/index.mjs"}},"module":"./dist/index.mjs","types":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4"},"devDependencies":{"@antfu/eslint-config":"^4.12.0","@types/node":"^22.15.2","@webgpu/types":"^0.1.60","bumpp":"^10.1.0","eslint":"^9.24.0","eslint-plugin-format":"^1.0.1","typescript":"^5.8.3","unbuild":"^3.5.0"},"scripts":{"dev":"pnpm run stub","stub":"unbuild --stub","build":"unbuild","typecheck":"tsc --noEmit","lint":"eslint .","lint:fix":"eslint --fix ."},"_id":"gpuu@1.0.2","bugs":{"url":"https://github.com/moeru-ai/gpuu/issues"},"homepage":"https://github.com/moeru-ai/gpuu#readme","_integrity":"sha512-jezIwiXXPvQn1j3TzVR7m2Ypp7TSjPap0OoT43eOxfQsYGZ/5cpBaKK0f73t+2c2KQpEtCxdTH63KsM1yqfctg==","_resolved":"/tmp/cfd4cf42e3ef1b618d83dbc278c645a7/gpuu-1.0.2.tgz","_from":"file:gpuu-1.0.2.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jezIwiXXPvQn1j3TzVR7m2Ypp7TSjPap0OoT43eOxfQsYGZ/5cpBaKK0f73t+2c2KQpEtCxdTH63KsM1yqfctg==","shasum":"2a5405f2e1d3b5f0b32d39981263ed1124eac22c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gpuu/-/gpuu-1.0.2.tgz","fileCount":9,"unpackedSize":5288,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gpuu@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFl5ucjnmFZJiUQ4kKy1K8ycQxY1s8tru9Rfwk3qEtxwAiEAvG4bV0LellSSPO4mRKs8XRKHuKLxY6puiFQoCDQMaLo="}],"size":2590},"_npmUser":{"name":"anonymous","email":"rbxin2003@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"neko@ayaka.moe"},{"name":"anonymous","email":"rbxin2003@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpuu_1.0.2_1745747227275_0.02365304104227728"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-27T09:47:07.456Z","publish_time":1745747227456,"_source_registry_name":"default","contributors":[]},"1.0.3":{"name":"gpuu","type":"module","version":"1.0.3","description":"A collection of utilities for working with GPUs, especially for WebGPU.","author":{"name":"Neko Ayaka","email":"neko@ayaka.moe","url":"https://github.com/nekomeowww"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/moeru-ai/gpuu.git"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"./webgpu":{"types":"./dist/webgpu/index.d.ts","default":"./dist/webgpu/index.mjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4"},"devDependencies":{"@antfu/eslint-config":"^4.12.0","@types/node":"^22.15.2","@webgpu/types":"^0.1.60","bumpp":"^10.1.0","eslint":"^9.24.0","eslint-plugin-format":"^1.0.1","typescript":"^5.8.3","unbuild":"^3.5.0"},"scripts":{"dev":"pnpm run stub","stub":"unbuild --stub","build":"unbuild","typecheck":"tsc --noEmit","lint":"eslint .","lint:fix":"eslint --fix ."},"_id":"gpuu@1.0.3","bugs":{"url":"https://github.com/moeru-ai/gpuu/issues"},"homepage":"https://github.com/moeru-ai/gpuu#readme","_integrity":"sha512-jE4f6Pzblf7fLoVNhcc+RIxzo1TQcINA32NLBKfVPIq+w1a81LLIZsCrDDxqheUS15BF6T+Czj4YTgH+1N6NhA==","_resolved":"/tmp/98a0c1ff201b2d2278780c4a393ac311/gpuu-1.0.3.tgz","_from":"file:gpuu-1.0.3.tgz","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jE4f6Pzblf7fLoVNhcc+RIxzo1TQcINA32NLBKfVPIq+w1a81LLIZsCrDDxqheUS15BF6T+Czj4YTgH+1N6NhA==","shasum":"490866f707d50477c0d9f79fce00eb2d9401cda2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gpuu/-/gpuu-1.0.3.tgz","fileCount":9,"unpackedSize":5581,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gpuu@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCKOhwCJSJnNabQZzmT8cF5OcimaIv2Wgnba6VLk+yWxAIgPaRvQXGTmqhs6QSVR+rh/u9DILrfpdWGGnLRdghxoMA="}],"size":2629},"_npmUser":{"name":"anonymous","email":"rbxin2003@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"neko@ayaka.moe"},{"name":"anonymous","email":"rbxin2003@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpuu_1.0.3_1747205579929_0.13676599059823058"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-14T06:53:00.093Z","publish_time":1747205580093,"_source_registry_name":"default","contributors":[]},"1.0.4":{"name":"gpuu","type":"module","version":"1.0.4","description":"A collection of utilities for working with GPUs, especially for WebGPU.","author":{"name":"Neko Ayaka","email":"neko@ayaka.moe","url":"https://github.com/nekomeowww"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/moeru-ai/gpuu.git"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./webgpu":{"types":"./dist/webgpu/index.d.mts","default":"./dist/webgpu/index.mjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^4.14.1","@arethetypeswrong/cli":"^0.18.2","@types/node":"^24.0.1","@webgpu/types":"^0.1.61","bumpp":"^10.1.1","eslint":"^9.29.0","eslint-plugin-import-x":"^4.15.2","taze":"^19.1.0","tsdown":"^0.12.7","typescript":"^5.8.3","unbuild":"^3.5.0","unplugin-unused":"^0.5.1"},"scripts":{"dev":"tsdown","stub":"tsdown","build":"tsdown","typecheck":"tsc --noEmit","lint":"eslint .","lint:fix":"eslint --fix .","attw":"attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm","up":"taze -w -r -I -f && pnpm prune && pnpm dedupe"},"_id":"gpuu@1.0.4","bugs":{"url":"https://github.com/moeru-ai/gpuu/issues"},"homepage":"https://github.com/moeru-ai/gpuu#readme","_integrity":"sha512-J6xiAuhuwRq2ys54X3jCNJjrPRHkNVBrOvJiy7+geldPVdGUhoOifnZi4mAp9xZqOyQpGj9HFePsmrsmoESEXw==","_resolved":"/tmp/d80da4a6f19621424ee50c0bbd0190bb/gpuu-1.0.4.tgz","_from":"file:gpuu-1.0.4.tgz","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-J6xiAuhuwRq2ys54X3jCNJjrPRHkNVBrOvJiy7+geldPVdGUhoOifnZi4mAp9xZqOyQpGj9HFePsmrsmoESEXw==","shasum":"62e15b2d310dd519635c97ceaa3a480df4e31243","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gpuu/-/gpuu-1.0.4.tgz","fileCount":9,"unpackedSize":8262,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gpuu@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD8ZBcx9vG22YGuBuxMRXrgWshyKaiQKxYc4KrKjZQm9AIgPHQuqUr/UPPVI3svOyx7S+S70ho4OxCyojjEby1ri0U="}],"size":3479},"_npmUser":{"name":"anonymous","email":"rbxin2003@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"neko@ayaka.moe"},{"name":"anonymous","email":"rbxin2003@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpuu_1.0.4_1750015085630_0.6510904018295036"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-15T19:18:05.801Z","publish_time":1750015085801,"_source_registry_name":"default","contributors":[]},"1.0.5":{"name":"gpuu","type":"module","version":"1.0.5","description":"A collection of utilities for working with GPUs, especially for WebGPU.","author":{"name":"Neko Ayaka","email":"neko@ayaka.moe","url":"https://github.com/nekomeowww"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/moeru-ai/gpuu.git"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./webgpu":{"types":"./dist/webgpu/index.d.mts","default":"./dist/webgpu/index.mjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^5.3.0","@arethetypeswrong/cli":"^0.18.2","@types/node":"^24.3.1","@webgpu/types":"^0.1.64","bumpp":"^10.2.3","eslint":"^9.35.0","taze":"^19.6.0","tsdown":"^0.15.0","typescript":"^5.9.2","unbuild":"^3.6.1","unplugin-unused":"^0.5.3"},"scripts":{"dev":"tsdown","stub":"tsdown","build":"tsdown","typecheck":"tsc --noEmit","lint":"eslint .","lint:fix":"eslint --fix .","attw":"attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm","up":"taze -w -r -I -f && pnpm prune && pnpm dedupe"},"_id":"gpuu@1.0.5","bugs":{"url":"https://github.com/moeru-ai/gpuu/issues"},"homepage":"https://github.com/moeru-ai/gpuu#readme","_integrity":"sha512-dDXRoBxYO9WkvmE0KiALIxeduIfds6tiUje3QZFq+vO/QMH6bnbw9yiSG4gvUeO7Zca8jcPURHsRnEt59DPjHQ==","_resolved":"/tmp/4bd4eca44bc917aa0aaa1805421c1d62/gpuu-1.0.5.tgz","_from":"file:gpuu-1.0.5.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-dDXRoBxYO9WkvmE0KiALIxeduIfds6tiUje3QZFq+vO/QMH6bnbw9yiSG4gvUeO7Zca8jcPURHsRnEt59DPjHQ==","shasum":"3ade350a0b3ce95683e2ef81a5d33401f9ae9323","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gpuu/-/gpuu-1.0.5.tgz","fileCount":9,"unpackedSize":8185,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gpuu@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDEnQSdkOqy2KIP8R88uqXGGAAe3BNVq52LWjbeSoI2KAiBRbcOAwJjXbE7xz0ZtZEZaUJ+eY7WSrzKoBHpelD17RA=="}],"size":3454},"_npmUser":{"name":"anonymous","email":"neko@ayaka.moe"},"directories":{},"maintainers":[{"name":"anonymous","email":"neko@ayaka.moe"},{"name":"anonymous","email":"rbxin2003@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpuu_1.0.5_1757582939321_0.19759317464186443"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-11T09:28:59.488Z","publish_time":1757582939488,"_source_registry_name":"default","contributors":[]},"1.0.6":{"name":"gpuu","type":"module","version":"1.0.6","description":"A collection of utilities for working with GPUs, especially for WebGPU.","author":{"name":"Neko Ayaka","email":"neko@ayaka.moe","url":"https://github.com/nekomeowww"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/moeru-ai/gpuu.git"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./webgpu":{"types":"./dist/webgpu/index.d.mts","default":"./dist/webgpu/index.mjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","devDependencies":{"@antfu/eslint-config":"^5.4.1","@arethetypeswrong/cli":"^0.18.2","@types/node":"^24.7.1","@webgpu/types":"^0.1.65","bumpp":"^10.3.1","eslint":"^9.37.0","taze":"^19.7.0","tsdown":"^0.15.6","typescript":"^5.9.3","unplugin-unused":"^0.5.4"},"scripts":{"dev":"tsdown","stub":"tsdown","build":"tsdown","typecheck":"tsc --noEmit","lint":"eslint .","lint:fix":"eslint --fix .","attw":"attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm","up":"taze -w -r -I -f && pnpm prune && pnpm dedupe"},"_id":"gpuu@1.0.6","bugs":{"url":"https://github.com/moeru-ai/gpuu/issues"},"homepage":"https://github.com/moeru-ai/gpuu#readme","_integrity":"sha512-g9pC4Hx/2rNulvTDft61gsL+4nkDwxdFOd2Hj6Miv444kxRc/y4Q5mnPVmAxNksWoojTt87U3JgHNHFr0CVkxw==","_resolved":"/tmp/ddccd71b2d719e9e74ae16174404978b/gpuu-1.0.6.tgz","_from":"file:gpuu-1.0.6.tgz","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-g9pC4Hx/2rNulvTDft61gsL+4nkDwxdFOd2Hj6Miv444kxRc/y4Q5mnPVmAxNksWoojTt87U3JgHNHFr0CVkxw==","shasum":"d995065e1879238588f3c1f4d62060329a9322cf","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gpuu/-/gpuu-1.0.6.tgz","fileCount":9,"unpackedSize":8161,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gpuu@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA5dDGYG/JT3aAP9KiUzlthpUl3jZjGia24bsvnCQ+mhAiEA7Y1PwQYRvm3JX3x7wHUSkYDRnta42E29FZHqMPfM2lw="}],"size":3443},"_npmUser":{"name":"anonymous","email":"neko@ayaka.moe"},"directories":{},"maintainers":[{"name":"anonymous","email":"neko@ayaka.moe"},{"name":"anonymous","email":"rbxin2003@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpuu_1.0.6_1760173151213_0.32523914584216085"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-11T08:59:11.435Z","publish_time":1760173151435,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.0.6"},"name":"gpuu","time":{"created":"2025-04-19T11:07:57.366Z","modified":"2025-10-11T09:00:08.832Z","1.0.0":"2025-04-19T11:07:50.707Z","1.0.2":"2025-04-27T09:47:07.456Z","1.0.3":"2025-05-14T06:53:00.093Z","1.0.4":"2025-06-15T19:18:05.801Z","1.0.5":"2025-09-11T09:28:59.488Z","1.0.6":"2025-10-11T08:59:11.435Z"},"readme":"<h1 align=\"center\">👁️ gpuu</h1>\n\n<p align=\"center\">\n  A tools to help you detect WebGPU support in the current environment.\n</p>\n\n## Features\n\n- 🌐 WebGPU Support Detection\n  - Easily check if WebGPU is supported in the current environment\n  - Detect FP16 support for better performance\n  - Handles both browser and Node.js environments\n- 🔍 Detailed Diagnostics\n  - Get comprehensive information about WebGPU availability\n  - Clear error messages when WebGPU is not supported\n  - Type-safe results with TypeScript support\n- 🛠️ Developer Friendly\n  - Simple API with both detailed and simplified checks\n  - Zero dependencies\n  - Lightweight and tree-shakeable\n\n## Installation\n\nPick the package manager of your choice:\n\n```shell\nni gpuu -D # from @antfu/ni, can be installed via `npm i -g @antfu/ni`\npnpm i gpuu -D\nyarn i gpuu -D\nnpm i gpuu -D\n```\n\n## Usage\n\n```ts\nimport { check, isWebGPUSupported } from 'gpuu'\n\n// Check if WebGPU is supported\nconst result = await check()\nif (result.supported) {\n  console.log('WebGPU is supported!')\n  console.log('FP16 support:', result.fp16Supported)\n}\nelse {\n  console.log('WebGPU is not supported:', result.reason)\n}\n\n// Or use the simplified version\nif (await isWebGPUSupported())\n  console.log('WebGPU is supported!')\n```","users":{}}