# @bowtie/lighthouse

> Lighthouse automated scans

Latest version **1.0.1** (published 2022-05-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bowtie/lighthouse
pnpm add @bowtie/lighthouse
yarn add @bowtie/lighthouse
bun add @bowtie/lighthouse
```

Provides the command `btlh`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-05-05 |
| First published | 2021-10-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 13.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Bowtie |
| Maintainers | bowtie-ci, charliemcclung, brennanbowtie, j_fortune, rams24692, brandoncabael |

## Links

- npm: https://www.npmjs.com/package/@bowtie/lighthouse
- Repository: https://github.com/bowtie-co/node-lighthouse
- Homepage: https://github.com/bowtie-co/node-lighthouse#readme
- Issues: https://github.com/bowtie-co/node-lighthouse/issues
- npm.io page: https://npm.io/package/@bowtie/lighthouse

## Dependencies (3)

- [cmr1-cli](https://npm.io/package/cmr1-cli.md) ^0.1.16
- [lighthouse](https://npm.io/package/lighthouse.md) ^6.4.1
- [chrome-launcher](https://npm.io/package/chrome-launcher.md) ^0.13.4

## Recent versions

- 1.0.1 (latest) — 2022-05-05
- 0.3.0 — 2021-10-19
- 0.2.0 — 2021-10-14
- 0.1.0 — 2021-10-14

## README

# @bowtie/lighthouse

Simple CLI tool to run basic lighthouse audits against a website

## Installation

```bash
npm i -g @bowtie/lighthouse
```

## Usage


Basic desktop audit (defaults)

```bash
# Default behavior will run desktop audit & JSON report to stdout
btlh https://example.com
```

Specify mobile audit

```bash
btlh https://example.com --mobile
```

Save report(s) to directory (instead of `stdout`)

```bash
btlh https://example.com --output reports/example
```

*See all available options in the `--help` menu*

```bash
@bowtie/lighthouse  v1.0.0

  Lighthouse automated scans

Usage

  btlh [url] [options]
  btlh -u [url] [options]
  btlh --url [url] [options]

Examples

  # Run default desktop audit:
  btlh https://example.com

  # Run mobile audit:
  btlh https://example.com --mobile

  # JSON "pretty" print out:
  btlh https://example.com --pretty

  # Save reports to dir:
  btlh https://example.com --output /path/to/reports

  # Save HTML report(s):
  btlh https://example.com --html --output /path/to/reports

Available Options

  --version             Show current version
  -h, --help            Print this usage guide
  -f, --force           Ignore "throws" flag on logging methods
  -q, --quiet           Surpress all log output
  -v, --verbose         Show debugging output
  -u, --url url         Website URL to be audited
  -m, --mobile          Run mobile audit
  -d, --desktop         Run desktop audit
  -p, --pretty          Print "pretty" foramtted JSON output
  -t, --html            Save HTML reports (when --output specified)
  -o, --output string   Output directory (default: JSON to stdout)
```

---
_Source: https://npm.io/package/@bowtie/lighthouse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
