The Coach - core
Documentation | Changelog
The coach helps you find performance, best practice and privacy problems on your web page. coach-core holds the JavaScript functionality to analyse your page, the Coach project is the CLI.
const coach = require('coach-core');
const domAdviceJavaScript = await coach.getDomAdvice();
const domResult = ...
const har =
const firstPageHar = coach.pickAPage(har, 0);
const harResult = await coach.analyseHar(firstPageHar);
const coachResult = coach.merge(domResult, harResult);