Skip to content

For node (es6): Returns a default configuration pojo. Overrides keys with values taken from a json file if an environment variable points to such a file.

License

Notifications You must be signed in to change notification settings

OliverUv/config-cats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript library for loading a configuration file, to be run in node. Built JS targets ES6.

  • Returns a default configuration pojo.
  • Overrides keys with values taken from a json file if an environment variable points to such a file.
  • Lets you specify the configuration interface type.
  • Can cache result.

See src/example.ts for usage. Run example with npm run example.

About

For node (es6): Returns a default configuration pojo. Overrides keys with values taken from a json file if an environment variable points to such a file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages