An HTML minifier package that compresses HTML by removing whitespace, comments, and other redundant data. Version 0.0.3 is the current release. This package provides a simple function to minify HTML strings. It is a lightweight alternative to more comprehensive minifiers like html-minifier. Release cadence is unknown; there have been no updates since initial publication.
npm install fz-html-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic HTML minification using the minify function from fz-html-minifier.
Consider using actively maintained alternatives like html-minifier or html-minifier-terser.
When searching, use the exact name 'fz-html-minifier' or consider alternatives.
If you need customizable minification (e.g., collapseWhitespace, removeComments), use html-minifier.
Create a declaration file: declare module 'fz-html-minifier';
Review source code on GitHub to understand behavior.
Use import { minify } from 'fz-html-minifier' instead of import fzHtmlMinifier from 'fz-html-minifier'.Run npm install fz-html-minifier and ensure the name is correct.
Ensure the package is listed in package.json dependencies and node_modules is installed.
No dependency data recorded yet.