UNPKG

env-sentinel

Version:

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

4 lines (3 loc) 200 B
import { ValidatorFn } from '../types.js'; export declare function registerValidator(name: string, fn: ValidatorFn): void; export declare function getValidator(name: string): ValidatorFn | undefined;