A simple HTML minifier library for Node.js, version 0.1.2. This lightweight package removes whitespace, comments, and redundant attributes from HTML strings to reduce file size. It is part of the Impresser ecosystem from Icons8. As an early-stage release (v0.1.x, no stable release cadence), it offers basic minification without advanced options like custom rules or source maps. Compared to popular alternatives (html-minifier, html-minifier-terser), Impresser is minimal with fewer features, suitable for quick minification tasks where full configurability is not required.
npm install impresser-html-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of impresser-html-minifier to minify an HTML string, removing whitespace and comments.
Pin to exact version if stability is critical.
Use import syntax or configure your project for ESM interoperability.
Monitor releases for upcoming changes.
Change to import or use dynamic import().
Run 'npm install impresser-html-minifier'.
Use 'import minify from ...' or 'import { minify } from ...' appropriately.No dependency data recorded yet.