Name Description Size
ProductConfig.mjs 5161
ProductValidator.sys.mjs Validate JSON result from the shopping API. @param {object} json JSON object from the API request. @param {string} SchemaURL URL string for the schema to validate with. @param {boolean} logErrors Should invalid JSON log out the errors. @returns {boolean} result If the JSON is valid or not. 1074
ShoppingProduct.mjs @typedef {object} Product A parsed product for a URL @property {number} id The product id of the product. @property {string} host The host of a product url (without www) @property {string} tld The top level domain of a URL @property {string} sitename The name of a website (without TLD or subdomains) @property {boolean} valid If the product is valid or not 21357