{"library":"wgslmin-wasm","type":"library","category":null,"description":"A WGSL shader minifier built as a WebAssembly module for WebGPU applications. Version 0.1.1, released as an alpha/pre-release. It runs in both browsers and Node.js, providing whitespace removal, identifier renaming, syntax optimization, and optional external binding mangling. The package ships TypeScript types and requires manual initialization of the WASM module before use. Unlike other WGSL tools, it offers fine-grained control over minification passes and supports browser bundlers like Vite and Webpack.","language":"javascript","status":"active","version":"0.1.1","tags":["javascript","wgsl","webgpu","minifier","shader","wasm","webassembly","gpu","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install wgslmin-wasm","imports":["import { initialize } from 'wgslmin-wasm'","import { minify } from 'wgslmin-wasm'","import { isInitialized } from 'wgslmin-wasm'"]},{"cmd":"yarn add wgslmin-wasm","imports":[]},{"cmd":"pnpm add wgslmin-wasm","imports":[]}],"homepage":"https://codeberg.org/saruga/wgsl-minifier","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"wgslmin-wasm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}