You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This README is for version 3.x. To see version 2.x, visit https://github.com/joy
9
9
## Installation
10
10
11
11
```bash
12
-
$ npm install lighthouse-lambda --save
12
+
$ npm install lighthouse-lambda@3.0.0-rc.1 --save
13
13
```
14
14
15
15
The postinstall script of `lighthouse-lambda` will download a Headless Chrome binary if it does not already exist. The binary is from [joytocode/headless-chrome-builder](https://github.com/joytocode/headless-chrome-builder) and is tested to make sure it works with Lighthouse.
@@ -73,9 +71,7 @@ Returns a `Promise` of an Object with the following fields:
73
71
74
72
-`chrome`: an instance of [`chromeLauncher.launch()`](https://github.com/GoogleChrome/chrome-launcher#launchopts).
75
73
-`log`: an instance of [lighthouse-logger](https://github.com/GoogleChrome/lighthouse/tree/master/lighthouse-logger) (only if you set `options.logLevel`).
76
-
-`start(options)`: a function to start the scan which returns a `Promise` of Lighthouse results.
77
-
-`options.saveArtifacts`: a flag to indicate whether result artifacts should be saved (default: `false`).
78
-
-`createReport(results)`: a function to create html report from Lighthouse results.
74
+
-`start()`: a function to start the scan which returns a `Promise` of Lighthouse results.
0 commit comments