How to use the webcoach.getDomAdvice function in webcoach

To help you get started, we’ve selected a few webcoach examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sitespeedio / sitespeed.io / lib / plugins / browsertime / analyzer.js View on Github external
async function addCoachScripts(scripts) {
  const coachAdvice = await coach.getDomAdvice();
  scripts.coach = {
    coachAdvice: coachAdvice
  };
  return scripts;
}

webcoach

The coach gives you advice on building a better web page

MIT
Latest version published 12 months ago

Package Health Score

66 / 100
Full package analysis