{"library":"minwgsl","type":"library","category":null,"description":"A WGSL (WebGPU Shading Language) minifier written in Rust, compiled to WebAssembly for use in Node.js and browsers. Current stable version is 1.0.3, with frequent updates. It reduces WGSL shader size by removing comments, whitespace, and renaming variables. Key differentiators: Rust-based performance, TypeScript support, and works both in Node.js and browser environments via WebAssembly.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","wgsl","minifier","webgpu","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install minwgsl","imports":["import { minify } from 'minwgsl'","import type { MinifyOptions } from 'minwgsl'","import minwgsl from 'minwgsl'; minwgsl.minify(...)"]},{"cmd":"yarn add minwgsl","imports":[]},{"cmd":"pnpm add minwgsl","imports":[]}],"homepage":"https://github.com/robertpakalns/minwgsl#readme","github":"https://github.com/robertpakalns/minwgsl","docs":null,"changelog":null,"pypi":null,"npm":"minwgsl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}