Nighthouse
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.