async function _getHtml(url) {
  const htmlCache = cache.get(url);
  if (htmlCache !== undefined) return htmlCache;

  const html = (await axios.get(url)).data;
  cache.set(url, html);

  return html;
}
/**
 * Get the HTML of the provided URL by first checking the cache. If it does
 * not exist in the cache, then call the URL and save the HTML in the cache.
 * @param {string} url - URL of HTML to get
 * @returns {Promise<string>}
 */
Get the HTML of the provided URL by first checking the cache. If it does
not exist in the cache, then call the URL and save the HTML in the cache.
@param {string} url - URL of HTML to get
@returns {Promise}
Get the HTML of the provided URL by first checking the cache . If it does not exist in the cache then call the URL and save the HTML in the cache . @param { string } url - URL of HTML to get @returns { Promise }
async function _getHtml(url) {
  const htmlCache = cache.get(url);
  if (htmlCache !== undefined) return htmlCache;
  const html = (await axios.get(url)).data;
  cache.set(url, html);
  return html;
}
async function _getHtml ( url ) { const htmlCache = cache . get ( url ) ; if ( htmlCache !== undefined ) return htmlCache ; const html = ( await axios . get ( url ) ) . data ; cache . set ( url , html ) ; return html ; }
Get the HTML of the provided URL by first checking the cache.
Get the HTML of the provided URL by first checking the cache .