4.0.0 • Published 4 years ago

@femto-apps/config v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Config Loader

Looks for configuration file such as config.js, config.json and config.hjson in the top level directory, in the config directory, in the configs directory and in the test-configs directory. It first attempts to load config.default.js, config.default.json and config.default.hjson in the aforementioned directories in case the non-default files cannot be found. Usage:

const config = require('@femto-host/config')

config.get('path.to.option[0]')
4.0.0

4 years ago

3.0.1

5 years ago

3.0.0

5 years ago

1.0.0

5 years ago