zod-config
Version:
Load configuration variables from multiple sources with flexible adapters, ensuring type safety with Zod.
10 lines (7 loc) • 314 B
TypeScript
import { B as BaseAdapterProps, A as Adapter } from './types-4fcc40ec.js';
import 'zod';
type EnvAdapterProps = BaseAdapterProps & {
customEnv?: Record<string, any>;
};
declare const envAdapter: ({ customEnv, prefixKey, regex, silent, }?: EnvAdapterProps) => Adapter;
export { EnvAdapterProps, envAdapter };