UNPKG

@jspm/generator

Version:

Package Import Map Generation Tool

7 lines (5 loc) 677 B
var _globalThis_process, _globalThis_process1, _globalThis_process2; export const isWindows = ((_globalThis_process = globalThis.process) === null || _globalThis_process === void 0 ? void 0 : _globalThis_process.platform) === "win32"; export const PATH = isWindows ? Object.keys((_globalThis_process1 = globalThis.process) === null || _globalThis_process1 === void 0 ? void 0 : _globalThis_process1.env).find((e)=>Boolean(e.match(/^PATH$/i))) || "Path" : "PATH"; export const PATHS_SEP = ((_globalThis_process2 = globalThis.process) === null || _globalThis_process2 === void 0 ? void 0 : _globalThis_process2.platform) === "win32" ? ";" : ":"; //# sourceMappingURL=env.js.map