Skip to content

biotope/biotope-configuration

Repository files navigation

Build Status codecov

Configuration Loader

Keep you runtime configurations in one spot. Load config json files form remote and merge them into the config loaders state.

Usage

const configuration = await biotope.createConfigurationLoader({foo: 'bar'})

console.log(configuration.getState());
// { foo: 'bar' }