UNPKG

gizmo-api

Version:

A minimal wrapper for interfacing with the Gizmo API.

10 lines 337 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stringToBase64 = void 0; function stringToBase64(data) { return typeof btoa === "function" ? btoa(data) : Buffer.from(data, "binary").toString("base64"); } exports.stringToBase64 = stringToBase64; //# sourceMappingURL=helpers.js.map