lighthouse
Automated auditing, performance metrics, and best practices for the web.
What is lighthouse?
Automated auditing, performance metrics, and best practices for the web.
Overview of lighthouse
What it is
Lighthouse is an automated auditing tool that analyzes web apps and web pages. It collects modern performance metrics and provides insights on developer best practices for the web. It is developed by Google and is available as an open-source project under the Apache-2.0 license.
Key features
- Integrated directly into Chrome DevTools under the “Lighthouse” panel.
- Available as a Chrome extension for similar functionality.
- Node CLI for flexible configuration and automated runs; requires Node 22 (LTS) or later.
- Node module for programmatic use in custom scripts.
- Generates reports in HTML, JSON, and CSV formats.
- Supports custom configuration via CLI flags or a config JSON file.
- Provides audits for performance, accessibility, best practices, and SEO categories.
Use cases
Lighthouse is used for automated auditing of web pages to measure performance, accessibility, best practices, and SEO. It can be run manually via Chrome DevTools or the Chrome extension, or automated using the Node CLI in continuous integration pipelines. It is also integrated into various web performance services and tools.
Getting started
Install the Node CLI globally:npm install -g lighthouseRun an audit on a URL:lighthouse https://airhorner.com/Alternatively, use Lighthouse directly in Chrome DevTools (open DevTools, select the Lighthouse panel, and click “Generate report”) or install the Chrome extension from the Chrome Web Store.
License and pricing
Licensed under Apache-2.0. Open source (free).
Based on the project's public README and repository metadata.