Skip to content

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Settings module

Load config files from the CONFIG environment variable.

Using settings-module

Node config is very simple. You set the filepath to the CONFIG environment variable and settings-module will load it for you.

// config.jsexports.API_KEY='TEST';// lib/index.js// process.env.CONFIG = ./config.jsconstConfig=require('settings-module');Config.get('API_KEY');

About

Easier config files loading in node js

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages