@buka/nestjs-config
Version:
An easy to use nestjs config module
22 lines (21 loc) • 580 B
TypeScript
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 {};