create-envexample
Version:
A simple CLI tool to create .env.example files from your .env files, making it easier to share environment variable structures without exposing sensitive data
10 lines (9 loc) • 362 B
TypeScript
declare module 'create-envexample' {
/**
* Creates a .env.example file from an existing .env file
* by removing sensitive values while keeping the structure
* @throws {Error} If .env file cannot be read or .env.example cannot be written
* @returns {Promise<void>}
*/
export function createEnvExample(): Promise<void>;
}