Skip to content
/ config Public

JSON configuration loader, leveraging Confidence's document format

License

Notifications You must be signed in to change notification settings

sdevalk/config

Repository files navigation

Config - JSON configuration loader, leveraging Confidence's document format

Development

Build image

docker-compose build --no-cache

Logon to container

docker-compose run --rm node /bin/bash

Run tests

npm test

Coding conventions

https://hapijs.com/styleguide

Usage

const Config = require('config');

(async () => {

    const config = new Config();

    await config.load('your-config.json');

    console.log(config.get('/yourKey'));
})();

About

JSON configuration loader, leveraging Confidence's document format

Resources

License

Stars

Watchers

Forks

Packages

No packages published