swig-minifier

JSON →
library 0.4.4-b ·javascript deprecated
verified Jun 4, 2026

Middleware for Express that automatically minifies and caches HTML output rendered by the Swig template engine. Version 0.4.4-b is the latest and only release, last updated in 2016. Supports file, memory, or Redis caching with configurable hash algorithms (md5, sha512, sha256). No longer maintained; Swig itself is deprecated in favor of Nunjucks. Works only with Node >=0.10 and Swig. Key differentiator: seamless integration with Express app.engine.