Skip to content

Pretty CSS analytics on the CLI

License

Notifications You must be signed in to change notification settings

projectwallace/wallace-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.