UNPKG

envsaurus

Version:

ENVSAURUS is a zero-dependency CLI + library that turns your .env.example into a fully typed config file. It validates environment variables at runtime, fails fast in CI, and exports a safe CONFIG object for Node/TypeScript apps. Catch missing or invalid

11 lines (10 loc) 348 B
export type { EnvSchema, SchemaEntry, EnvType } from './parser'; export { parseExampleContent, parseExampleFile } from './parser'; export { generateConfigTs } from './generator'; export interface EnvsaurusOptions { examplePath?: string; outPath?: string; js?: boolean; strict?: boolean; } export declare function version(): string;