Wallace CLI is a command-line tool for analyzing CSS files and generating pretty analytics in the terminal. It provides statistics like number of rules, selectors, declarations, specificities, and more. The current stable version is 4.0.2, released occasionally. It is part of the Project Wallace ecosystem and is powered by the CSS Analyzer library. Unlike other CSS analysis tools, Wallace CLI offers a colorful table output and JSON format, making it easy to integrate into build pipelines. It requires Node.js >=20.12.0 and is designed for developers who want quick CSS quality insights from the terminal.
npm install wallace-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Analyzes a CSS file and prints a formatted table of CSS statistics to the terminal.
Upgrade to Node >=20.12.0.
Use 'wallace file.css --json > output.json' to capture JSON.
Use --help for clarity.
Run 'npm install -g wallace-cli' or 'npx wallace-cli'.
Ensure npm global bin is in PATH, or use 'npx wallace'.
Check the pipe source; ensure CSS content is provided.
No dependency data recorded yet.