"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.crypto = void 0;
require("isomorphic-fetch");
const tmp = require('os').tmpdir();
const util = require('util');
exports.crypto = require('crypto').webcrypto;
global.localStorage = new (require('node-localstorage').LocalStorage)(tmp, 5 * 1024 * 1024 * 1024);
global.fetch = fetch;
global.Storage = '';
global.TextDecoder = util.TextDecoder;
global.TextEncoder = util.TextEncoder;
//# sourceMappingURL=node-compat.js.map