UNPKG

envalid

Version:

Validation for your environment variables

7 lines (6 loc) • 364 B
import type { CleanOptions, Spec, SpecsOutput } from './types.ts'; export declare function formatSpecDescription<T>(spec: Spec<T>): string; /** * Perform the central validation/sanitization logic on the full environment object */ export declare function getSanitizedEnv<S>(environment: unknown, specs: S, options?: CleanOptions<SpecsOutput<S>>): SpecsOutput<S>;