mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
- Removed all the various eslint dependencies and added ts-standard - Updated Readme file with some minor changes - Updated dist folder to have one level again
27 lines
717 B
TypeScript
27 lines
717 B
TypeScript
/**
|
|
* Gets the environment vars from an env file
|
|
*/
|
|
export declare function getEnvFileVars(envFilePath: string): Promise<{
|
|
[key: string]: any;
|
|
}>;
|
|
/**
|
|
* Parse out all env vars from a given env file string and return an object
|
|
*/
|
|
export declare function parseEnvString(envFileString: string): {
|
|
[key: string]: string;
|
|
};
|
|
/**
|
|
* Parse out all env vars from an env file string
|
|
*/
|
|
export declare function parseEnvVars(envString: string): {
|
|
[key: string]: string;
|
|
};
|
|
/**
|
|
* Strips out comments from env file string
|
|
*/
|
|
export declare function stripComments(envString: string): string;
|
|
/**
|
|
* Strips out newlines from env file string
|
|
*/
|
|
export declare function stripEmptyLines(envString: string): string;
|