UNPKG

@axiomhq/logging

Version:
14 lines (13 loc) 393 B
const getEnv = (key) => "process" in globalThis ? globalThis.process.env[key] : void 0; const isVercel = getEnv("NEXT_PUBLIC_VERCEL") || getEnv("VERCEL"); const isNetlify = getEnv("NETLIFY") == "true"; const environment = getEnv("NODE_ENV"); const region = getEnv("REGION") || void 0; export { environment, getEnv, isNetlify, isVercel, region }; //# sourceMappingURL=platform.js.map