Trying to use nconf
to load a file into memory and use that for configuration. However, every time I call nconf.get
it returns undefined leading me to believe I'm being dealt an async function. The path I'm using seems correct.
I noticed the FileStore
has a loadSync
method but I'm not sure how to use it.