Stream interface for html-minifier (v3.x), enabling piping of HTML data through a transform stream for minification. Created by gomoto, this package provides a simple way to integrate html-minifier into Node.js stream pipelines. Current version 0.1.0, with no active maintenance since 2016. Alternative to using html-minifier directly with buffers or strings.
npm install html-minifier-streamNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to pipe an HTML file through the minifier stream and output to a new file.
Consider using html-minifier directly or find an alternative active package.
Use html-minifier@3.x or switch to another solution.
Ensure your source stream emits buffers or strings; use .toString() if needed.
Run 'npm install html-minifier-stream' and ensure package.json includes it.
Pass an options object, even if empty: htmlMinifierStream({})Use 'const htmlMinifierStream = require('html-minifier-stream')' and call it as a function.