UNPKG

@buka/nestjs-config

Version:
22 lines (21 loc) 580 B
import { ConfigLoader } from '../types/config-loader.interface.js'; interface DotenvLoaderOptions { /** * @default '__' */ separator?: string; /** * @default true */ jsonParse?: boolean; /** * See More: https://dotenvx.com/docs/advanced/parse-process-env */ processEnv?: Record<string, string>; /** * See More: https://dotenvx.com/docs/advanced/parse-private-key */ privateKey?: string; } export declare function dotenvxLoader(filepath: string, loaderOptions?: DotenvLoaderOptions): ConfigLoader; export {};