Variable configConst

config: {
    env: "production" | "development";
} = ...

Returns an object containing info about the current configuration The primary purpose is to avoid accessing process.env directly

import {config} from '@ortac/libs-js';

console.log(config.env); // => 'development' (or could be 'production')

Type declaration

  • env: "production" | "development"

Generated using TypeDoc