UNPKG

@veecode-platform/safira-cli

Version:

Generate a microservice project from your spec.

16 lines (15 loc) 453 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EnvironmentUtils = void 0; class EnvironmentUtils { static get environment() { return process.env.NODE_ENV || "development"; } static isDevelopmentMode() { return this.environment === "development"; } static isProductionMode() { return this.environment === "production"; } } exports.EnvironmentUtils = EnvironmentUtils;