UNPKG

env-sentinel

Version:

Zero-dependency tool that auto-validates .env files against schema.env, with optional fallback and secure warnings.

6 lines (5 loc) 372 B
import { Result } from '../types.js'; export declare function validateFileExists(filePath: string, fileType: string): void; export declare function readEnvFile(envFilePath: string): string; export declare function readSchemaFile(schemaFilePath: string): string; export declare function handleResult(result: Result, filePath: string, operation: 'lint' | 'validate'): void;