UNPKG

@liplum/env

Version:

Reading and parsing environment variables from "process.env"

16 lines (15 loc) 467 B
import { EnvStore } from "./model.js"; export declare class NextPhase { readonly key = "NEXT_PHASE"; readonly store?: EnvStore; constructor(store?: EnvStore); from: (store: EnvStore) => NextPhase; getOrNull: () => string | undefined; get: () => string; get export(): boolean; get productionBuild(): boolean; get productionServer(): boolean; get developmentServer(): boolean; get test(): boolean; get info(): boolean; }