config-kit
A universal, layered configuration system.
Features
- Layered data architecture
- Schema validation using joi
- Default values
- Environment variable precedence
- Define custom layers
- Extensible data store interface
- Support for array type values
Installation
npm install config-kit --save
Usage
import Config from 'config-kit';
const config = new Config();
config.set('foo.bar', true);
console.log(config.get('foo'));
config.load('/path/to/myconfig.json');
License
This project is open source under the Apache Public License v2 and is developed by
Axway, Inc and the community. Please read the LICENSE
file included
in this distribution for more information.