UNPKG

zod-config

Version:

Load configuration variables from multiple sources with flexible adapters, ensuring type safety with Zod.

11 lines (8 loc) 340 B
import { B as BaseAdapterProps, b as SyncAdapter } from './types-6327f0b9.js'; import 'zod/v3'; import 'zod/v4/core'; type YamlAdapterProps = BaseAdapterProps & { path: string; }; declare const yamlAdapter: ({ path, regex, silent, keyMatching, transform, }: YamlAdapterProps) => SyncAdapter; export { YamlAdapterProps, yamlAdapter };