1.0.4 • Published 1 year ago

@web-dev-tools/lighthouse-server v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@web-dev-tools/lighthouse-server

Lighthouse report and server for NodeJS

Lighthouse report functionality with Express NodeJS server.

Easy to integrate into the frontend project and run to check the quality of the site on the fly during development.

Install:

npm install --save-dev @web-dev-tools/lighthouse-server

Run:

node ./node_modules/@web-dev-tools/lighthouse-server

Or add on your project package.json

{
    "scripts": {
        "lighthouse": "node ./node_modules/@web-dev-tools/lighthouse-server"
    }
}

Options for command-line:

Run with options example:

node ./node_modules/@web-dev-tools/lighthouse-server 5001 http://127.0.0.1:3000