Skip to content

kostia-official/smart-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Config

Smart config managing tool. Features:

  • parse JSON in environment variables;
  • get environment variables from file;
  • extend configs.

Configuring

Config dir path can be set with env var CONFIG_DIR_PATH. Default value your-project-dir/config with files:

  • default.json
  • production.json

Environment variables that shouldn't be in github you can set in file your-project-dir/.env.json. You can change path in ENV_FILE_DIR env var.

TODO

  • more detailed README;
  • support of custom variables (staging, dev, etc.);
  • refactoring.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published