UNPKG

@hpcc-js/comms

Version:
21 lines 650 B
// 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