{"library":"webgpu","type":"library","category":null,"description":"The `webgpu` package provides a native WebGPU implementation for Node.js, leveraging Google's Dawn project. Currently at version 0.4.0, it sees frequent minor updates, aligning with the ongoing development of the WebGPU standard and Dawn itself. Its primary purpose is to enable server-side GPU computation and rendering without a browser environment, allowing developers to execute WGSL shaders and manage GPU resources directly within Node.js applications. A key differentiator is its direct integration with native GPU drivers via Dawn, contrasting with browser-based WebGPU which runs within a web page context. It is not intended for testing web pages or providing web platform APIs like canvas or video elements, but rather for headless GPU operations such as rendering to textures and running compute shaders.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript","WGSL","WebGPU","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webgpu","imports":["import { create } from 'webgpu';","import { globals } from 'webgpu';","import type { GPU } from '@webgpu/types';"]},{"cmd":"yarn add webgpu","imports":[]},{"cmd":"pnpm add webgpu","imports":[]}],"homepage":null,"github":"https://github.com/dawn-gpu/node-webgpu","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webgpu","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webgpu/compatibility"}}