npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

wallace-cli

2.0.0 • Public • Published

Wallace CLI

Pretty CSS analytics on the CLI.

NPM Version Build Status Known Vulnerabilities XO code style Dependencies Status Dependencies Status Project: Wallace

Install

npm install -g wallace-cli
# or 
yarn add --global wallace-cli

Usage

Usage
  $ wallace https://projectwallace.com
 
  Options
  --format, -f Format pretty (default) or JSON
  --verbose, -v Show verbose analytics output
 
  Examples
  $ wallace https://projectwallace.com
  $ wallace 'body { color: red; }'
  $ echo 'html { font-size: 16px; } | wallace
  $ wallace 'html {}' --format=json
  $ cat style.css | wallace --verbose
  $ curl http://localhost/css/style.css | wallace

Example output

Example output for projectwallace.com

Related projects

  • Extract CSS - Extract all CSS from a given url, both server side and client side rendered.
  • 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.

install

npm i wallace-cli

Downloadsweekly downloads

35

version

2.0.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability