htmlnano

https://github.com/posthtml/htmlnano

A modular minifier written in JavaScript that compresses web pages (including HTML, CSS, JavaScript, JSON, and SVG). It’s used by ParcelJS. Inspired by cssnano (and actually uses it for CSS minification).

Technologies:

PostHTML, JavaScript, Mocha, Babel, Travis CI.

I released the first version in January 2016. The project is still maintained.