@hpcc-js/comms
Version:
hpcc-js - Communications
21 lines • 650 B
JavaScript
// DOM Parser polyfill ---
import { root } from "@hpcc-js/util";
import { DOMParser } from "xmldom";
root.DOMParser = DOMParser;
// fetch polyfill ---
import fetch from "node-fetch";
if (typeof root.fetch === "undefined") {
root.fetch = fetch;
}
// btoa polyfill ---
import { Buffer } from "safe-buffer";
if (typeof root.btoa === "undefined") {
root.btoa = function (str) {
return Buffer.from(str || "", "utf8").toString("base64");
};
}
export * from "./index-common";
// Client Tools ---
export * from "./clienttools/eclcc";
export * from "./clienttools/eclMeta";
//# sourceMappingURL=index.node.js.map