@axiomhq/logging
Version:
The official logging package for Axiom
14 lines (13 loc) • 393 B
JavaScript
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