easily load runtime configuration files
npm i get-rc
Sets the name of the config file we're looking for. You only have to call this once.
Synchronously loads config files specified in setConfigName
in each level of the path. Configs are merged together with the most local to
path taking precedence. Also checks the user's HOME directory. An object will
always be returned, even if no config is found or there are problems parsing
one or more of them.
const config = getConfig('/foo/bar/baz');
kickstarted by npm-boom