cutw-minimal

JSON →
library 1.2.4 ·javascript
verified Jun 4, 2026

A simple command-line HTML minifier from CleanUptheWeb. Current stable version is 1.2.4. It can be used both as a CLI tool and as a Node.js module via require(). The CLI works on a directory basis, with input and output directory arguments. The library is minimal and provides a single min() method that accepts a string of HTML and returns minified output. It is designed for simple use cases where full-featured minifiers are overkill, but lacks advanced features like source maps or streaming.