code: function parseLink(link) {
    const match = new RegExp(REGEX_URL).exec(link); // 0 = link; 1 = domain; 2 = path
  
    if (!match || !match[1]) {
      throw new Error(`Invalid domain ${link}`);
    }
  
    return {
      domain: match[1],
      path: match[2]
    };
  }
docs: Parse a link and return its "normalized" (without the `https://www.` prefix)
  domain and path.
  
  @param   {string}    link    Link to parse
  @return  {object}            Normalized domain and path
  @throws  {Error}             When domain could not be resolved