express-minify

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

Express middleware that automatically minifies and caches JavaScript, CSS, and JSON responses. Supports compiling LESS/SASS/Stylus/CoffeeScript before minifying. Version 1.0.0 is stable, with a long history but recent releases are infrequent. Key differentiators: automatic content-type detection, in-memory or disk caching, and per-response control. Unlike other minification middlewares, it does not require specifying a source directory and can work alongside express.static and compression.