Pretty CSS analytics on the CLI


Keywords
stylesheets, css, styles, analytics, analysis, analyze, analyzer, stats, statistics, cli, cli-app, projectwallace, wallace, performance, audit, branding, complexity, metrics
License
MIT
Install
npm install wallace-cli@3.1.0

Documentation

Wallace CLI

Pretty CSS analytics in your terminal.

Installation

npm install wallace-cli

Usage

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

Example output

Example terminal output for this module

Related projects

  • 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.