Skip to content

ProjectLighthouseCAU/nighthouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a382e71 · Feb 25, 2025
Feb 25, 2025
Oct 10, 2024
Feb 25, 2025
Aug 11, 2022
Aug 15, 2022
Nov 29, 2022
Aug 10, 2022
Mar 21, 2024
Nov 29, 2022
Nov 29, 2022
Oct 10, 2024
Nov 29, 2022
Nov 29, 2022
Feb 25, 2025
Feb 25, 2025
Oct 7, 2024
Nov 29, 2022
Nov 29, 2022

Repository files navigation

Nighthouse

npm Build Docs

A lightweight, asynchronous Project Lighthouse client for JavaScript that runs both in the browser and Node.js environments.

Getting Started

To install the dependencies, run

npm install

To build the nighthouse packages, run

npm run build

To continuously rebuild them in the background you can also use

npm run watch

Examples

To build and run the browser example, run

npm -w examples/browser run serve

To build and run the Node.js example, run

npm -w examples/node run build
npm -w examples/node run start

As with the packages you can substitute watch for build to continuously rebuild in the background.