Popularity
1.4
Declining
Activity
0.0
Stable
2
1
3

Programming language: Elixir
Tags: Configuration    

sweetconfig alternatives and similar packages

Based on the "Configuration" category

Do you think we are missing an alternative of sweetconfig or a related project?

Add another 'Configuration' Package

README

Sweetconfig

Build Status

Place configuration YAML files in priv/ directory of your root application. Add following section to your config.exs file:

config :sweetconfig,
    app: :name_of_your_application

Include :sweetconfig into your app deps list.

Now you can read configuration from any point at your app like this:

    Sweetconfig.get :somekey
    Sweetconfig.get [:somekey, :somesubkey]
    Sweetconfig.get :whatever, :default_value

TBD: notification service on configuration changes.