smartenv/dist/smartenv.classes.smartenv.d.ts

22 lines
469 B
TypeScript
Raw Normal View History

2017-05-17 13:59:10 +00:00
export interface IEnvObject {
name: string;
value: string;
}
export declare class Smartenv {
runtimeEnv: string;
isBrowser: boolean;
userAgent: string;
isNode: boolean;
nodeVersion: string;
isCI: boolean;
constructor();
/**
* get environment variables that fit the description
*/
getEnvVars(regexArg: RegExp): Promise<void>;
/**
* prints the environment to console
*/
printEnv(): Promise<void>;
}