glsl-token-whitespace-trim

JSON →
library 1.0.0 ·javascript maintenance
verified Jun 4, 2026

Trims whitespace in an array of GLSL tokens from glsl-tokenizer, used to minimize shader source size. Version 1.0.0 stable. Accepts optional boolean to remove all extraneous whitespace. Part of stackgl ecosystem. No active development since 2016.