A CLI tool to minify HTML, CSS, and JS files in a website project and output them to a build folder. Current version 1.0.0 is the initial release with no further updates. It operates globally as a command-line utility. Unlike build tools (webpack, rollup), it offers a zero-config, single-command approach for simple static site minification.
npm install web-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to minify a website in the current directory using the CLI.
Ensure your website root contains index.html.
Backup any existing build folder before running.
Use a more comprehensive bundler for modern JS.
Run 'npm i -g web-minifier' or use 'npx web-minifier'.
Navigate to the root of your website project.
No dependency data recorded yet.