Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months ago
JSON representation
Pretty CSS analytics on the CLI
- Host: GitHub
- URL: https://github.com/projectwallace/wallace-cli
- Owner: projectwallace
- License: mit
- Created: 2018-08-07T18:47:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T20:05:11.000Z (about 1 year ago)
- Last Synced: 2024-04-14T08:32:01.971Z (8 months ago)
- Topics: analysis, audit, branding, cli, complexity, css, metrics, performance, projectwallace, statistics, stats, wallace
- Language: JavaScript
- Homepage: https://www.projectwallace.com/oss
- Size: 1.16 MB
- Stars: 517
- Watchers: 6
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
- awesome-github-repos - projectwallace/wallace-cli - Pretty CSS analytics on the CLI (JavaScript)
- stars - wallace-cli
- stars - wallace-cli
README
Wallace CLI
Pretty CSS analytics in your terminal.
## Installation
```sh
npm install wallace-cli
```## Usage
```sh
Usage
$ wallaceOptions
--json Format as JSON instead of a table
--help, -h Show this helpExamples
# 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.