Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 368 Bytes

config.md

File metadata and controls

15 lines (12 loc) · 368 Bytes

Configuration

This module provides a configuration store which values can be accessed via configuration keys. It is for example useful for DI module's @FromConfig annotation (see here).

const config = new InMemoryConfigurationStore({
    a: {
        b: 'c'
    },
    d: 'e'
})

config.get('a.b') // -> 'c'