npm install wallace-cli
Usage
$ wallace <path-to-file>
Options
--json Format as JSON instead of a table
--help, -h Show this help
Examples
# Point to a file
$ wallace path/to/styles.css
# CSS via stdin
$ cat style.css | wallace
# CSS from a server
$ curl http://localhost/css/style.css | wallace
# Format as json
$ wallace path/to/styles.css --json
- Online CSS Analyzer - Watch the analytics from this CLI online in a much more visual and detailed way!
- CSS Diff Action - A GitHub Action that comments on your PR with the changes in your CSS stats.
- CSS Analyzer - The analyzer that powers this module
- Constyble - A CSS complexity linter, based on css-analyzer. Don't let your CSS grow beyond the thresholds that you provide.