{"library":"wgsl-wasm-transpiler-bundler","type":"library","category":null,"description":"A Rust-based WGSL shader compiler and cross-transpiler that converts WGSL to GLSL, HLSL, Metal, or SPIR-V. v0.0.1 is an early release with no regular release cadence yet. Differentiators: runs in Node.js and browser via WASM, single-function API, supports SPIR-V binary and assembly output. Requires manual WASM initialization via `init()` before any compilation calls. Competing with naga and glslang, but lighter and purely WGSL→others.","language":"javascript","status":"active","version":"0.0.1","tags":["javascript","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install wgsl-wasm-transpiler-bundler","imports":["import { compileShader } from 'wgsl-wasm-transpiler-bundler'","import { init } from 'wgsl-wasm-transpiler-bundler'","import { getSupportedFormats } from 'wgsl-wasm-transpiler-bundler'"]},{"cmd":"yarn add wgsl-wasm-transpiler-bundler","imports":[]},{"cmd":"pnpm add wgsl-wasm-transpiler-bundler","imports":[]}],"homepage":null,"github":"https://github.com/reczkok/wgsl-wasm-transpiler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/wgsl-wasm-transpiler-bundler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}