@axiomhq/logging
Version:
The official logging package for Axiom
14 lines (13 loc) • 555 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
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;
exports.environment = environment;
exports.getEnv = getEnv;
exports.isNetlify = isNetlify;
exports.isVercel = isVercel;
exports.region = region;
//# sourceMappingURL=platform.cjs.map