A task-based wrapper around html-minifier for minifying HTML files. Version 0.1.0, released July 2014. No further updates. Provides a simple `run()` method for batch minification with full html-minifier options. Differentiated by its task-oriented API, but limited documentation and no active maintenance.
npm install task-htmlminifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create instance, define inputs and options, then call run().
Use modern alternatives like html-minifier directly or html-minifier-terser.
Wrap run() in a Promise or use async/await with a callback logger.
Validate options against html-minifier documentation before passing.
Use 'new HtmlMinifierTask()' and ensure correct require.
Run 'npm install html-minifier'.
Pass an array of file paths to the run method.