Lightning CSS WASM
JSON →Lightning CSS (v1.32.0) is an extremely fast CSS parser, transformer, and minifier written in Rust, distributed as a WebAssembly module for Node.js and the browser. It provides typed property values, browser-grade parsing via Mozilla's cssparser and selectors, automatic vendor prefixing based on browser targets (including browserslist support), syntax lowering for modern CSS (nesting, logical properties, color functions, selectors, math functions), and advanced minification (shorthand merging, gradient minification, calc reduction). It is a standalone library used by Parcel and can be integrated with any build tool. It ships TypeScript types and supports both ESM and CommonJS. Compared to alternatives like cssnano or postcss, it offers significantly faster performance and more comprehensive value-level optimizations.