jsmin.js

JSON →
library 1.1.0 ·javascript
verified Jun 5, 2026

jsmin.js v1.1.0 is a minimal command-line JavaScript minifier that removes non-essential whitespace, comments, and blank lines while preserving shebangs and strings. Inspired by Crockford's JSMin but implemented in just 34 lines of clever (not clean) JavaScript with no braces '{}' in the source. It is a single-file, zero-dependency CLI tool for file-by-file minification. Slower release cadence, last updated in 2020. Differentiator: extremely compact implementation, but limited to basic transformations and lacks configuration options.