Skip to content

JohnDMathis/configya

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configya

Stupid simple configuration.

Use

var config = require( 'configya' )( './path/config.json' );

// get the value from the config file,
// if an environment variable is presen
// the environment variable ALWAYS trumps the file setting
config.get( 'key' );

config.get( 'key', defaultValue );

About

Config files that defer to env settings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published