CLI tool to run a website carbon test on a URL (using websitecarbon.com) and print the results to the console.
Requires NodeJS version 12 or higher.
npm install -g website-carbon-cli
web-carbon npmjs.com
--pretty
or -p
Prints results to console, in human-readable format (default)
--raw
or -r
Outputs raw JSON output to console
If no flags are provided, --pretty
is the default.