syphonx-core
Version:
SyphonX is a template-driven solution for extracting data from HTML in a highly efficient way. It combines the power of jQuery, Regular Expressions, and Javascript into a declarative template-driven format that extracts and reshapes HTML data into JSON.
12 lines • 344 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.combineUrl = void 0;
function combineUrl(base, relative) {
if (!relative)
return base;
if (!base)
return relative;
return new URL(relative, base).toString();
}
exports.combineUrl = combineUrl;
//# sourceMappingURL=combineUrl.js.map