Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 248 Bytes

File metadata and controls

7 lines (6 loc) · 248 Bytes

ts-config-loader

Usage

const config = new ConfigLoader([`directory/base.json`, `directory/env-override.json`], { verbose: true });
const dbConfig = config.get<{ db: { host: string; port: number, password?: string }[] }>('db');