UNPKG

@samepage/internal

Version:

Utilities used across modules - not meant for use by users directly

11 lines 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const unbase64 = typeof window !== "undefined" && typeof window.atob === "function" ? (s) => window.atob(s) : typeof Buffer !== "undefined" ? (s) => Buffer.from(s, "base64").toString("binary") : () => { throw new Error("No base64 decoding function available"); }; exports.default = unbase64; //# sourceMappingURL=unbase64.js.map