libmodulor
Version:
A TypeScript library to create platform-agnostic applications
10 lines (9 loc) • 418 B
TypeScript
import type { FilePath } from '../../dt/index.js';
import type { EnvironmentManager, EnvironmentManagerEnvVarName, EnvironmentManagerType } from '../EnvironmentManager.js';
export declare class NodeEnvironmentManager implements EnvironmentManager {
cwd(): FilePath;
env(name: EnvironmentManagerEnvVarName): string | undefined;
home(): FilePath;
isProd(): boolean;
type(): EnvironmentManagerType;
}