UNPKG

zod-config

Version:

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

10 lines (7 loc) 303 B
import { B as BaseAdapterProps, A as Adapter } from './types-4fcc40ec.js'; import 'zod'; type DotEnvAdapterProps = BaseAdapterProps & { path: string; }; declare const dotEnvAdapter: ({ path, prefixKey, regex, silent }: DotEnvAdapterProps) => Adapter; export { DotEnvAdapterProps, dotEnvAdapter };