1.4.2 • Published 5 years ago

ymlconfigr v1.4.2

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

YMLConfigr Package

A package that utilizes config.yml file for environment config that you can use (e.g. keeping keys and other environment variables)

Based on the example yaml file below, you will now keep your keys and environment variables in a separate file with the capabilities of a YAML file such as commenting and much more.

Example:

defaults: &DEFAULT
  module_one_config: &module_one_config
    API_KEY: ''
    BASE_URL: ''
  module_two_config: &module_two_config
    API_KEY: ''
    BASE_URL: ''
  secret: ''

staging: &ENV1
  <<: *DEFAULT
  module_one_config: &env1_module_one_config
    <<: *module_one_config
  module_two_config: &env1_module_two_config
    <<: *module_two_config

production: &ENV2
  <<: *ENV1
  module_one_config:
    <<: *env1_module_one_config
  module_two_config:
    <<: *env1_module_two_config
1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago