Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/projectwallace/wallace-cli

Pretty CSS analytics on the CLI
https://github.com/projectwallace/wallace-cli

analysis audit branding cli complexity css metrics performance projectwallace statistics stats wallace

Last synced: about 1 month ago
JSON representation

Pretty CSS analytics on the CLI

Awesome Lists containing this project

README

        


Wallace CLI


Pretty CSS analytics in your terminal.


## Installation

```sh
npm install wallace-cli
```

## Usage

```sh
Usage
$ wallace

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](example.jpg)

## Related projects

- [Online CSS Analyzer](https://www.projectwallace.com/analyze-css?utm_source=github&utm_medium=wallace_cli_related_projects) - Watch the analytics from this CLI online in a much more visual and detailed way!
- [CSS Diff Action](https://github.com/projectwallace/css-diff-action) - A GitHub
Action that comments on your PR with the changes in your CSS stats.
- [CSS Analyzer](https://github.com/projectwallace/css-analyzer) - The analyzer that powers this module
- [Constyble](https://github.com/projectwallace/constyble) - A CSS complexity
linter, based on css-analyzer. Don't let your CSS grow beyond the thresholds that you provide.