lighthouse:tldr:d9fed
The command you provided is utilizing the Lighthouse CLI tool to run a performance audit on a website and output the results in JSON format.
-
lighthouse
: This is the main command of the Lighthouse CLI tool, which is used to initiate the performance audit. -
--output ${json}
: This option specifies the desired output format for the audit results. In this case, the output will be in JSON format.${json}
is a placeholder representing the file path or name where the JSON file will be saved. -
${https:--example-com}
: This is the URL of the website that you want to perform the audit on. In this case, the placeholder${https:--example-com}
suggests that the actual website URL should be replaced here. Make sure to use the actual URL of the website you want to evaluate.
To successfully execute this command, you need to replace ${json}
with the desired file path or name, and ${https:--example-com}
with the actual website URL. An example of a complete command could be something like:
lighthouse --output /path/to/output.json https://example.com
This would run the Lighthouse performance audit on the "example.com" website and save the results in a JSON file located at "/path/to/output.json".