@femto-apps/config

4.0.0 • Public • Published

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]')

Readme

Keywords

Package Sidebar

Install

npm i @femto-apps/config

Weekly Downloads

1

Version

4.0.0

License

MIT

Unpacked Size

5.1 kB

Total Files

8

Last publish

Collaborators

  • codefined