A blazing-fast, highly-permissive HTML formatter with optional WASM plugins, focused on Angular templates and plain HTML. Current stable version is 0.1.6, released as minimal-viable. It uses native binaries per OS (no Node-based formatter) and ships a small Node launcher. Key differentiators: performance via native code and WASM plugins for Angular and Tailwind CSS; built-in batch modes (--only-staged, --all, --changed, --check) and include/exclude via config; no custom wrapper scripts needed. Alternative to prettier or beautify-html with Angular-specific awareness.
npm install fua-fuaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize project, install dependencies, create config, and format a single HTML file.
Ensure you are on a supported OS (Linux, macOS, Windows) and have Node.js 16+.
Replace --staged with --only-staged in scripts and hooks.
Use 'husky' instead of 'husky install' in the prepare script.
Use full glob paths for include (e.g., src/**/*.html) and regex or substrings for exclude.
Use absolute paths or paths starting with ./node_modules/.
Check changelog before upgrading minor version.
Create .fua/config.json at project root and verify the --config path.
Install @fua-fua/plugin-tailwind and ensure the path matches the actual installed location.
Run chmod +x .husky/pre-commit
Run git init and make an initial commit before using --only-staged.