Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 514 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 514 Bytes

dotconfig

A powerful configuration builder using various sources: environment variables, local json files, and secure key vaults.

Supported Providers

  • In memory
  • Environment variables
  • Json file

Getting Started

import { ConfigurationBuilder } from "dotconfig";

const configuration = await new ConfigurationBuilder()
  .add(new MemoryConfigurationSource(new Map<string, string>([["a:b:c", "1"]])))
  .build();

const value = configuration.get("a:b:b"); // => "1"

Readme WIP.