Skip to content

Read, parse and patch Elixir application's configuration

License

Notifications You must be signed in to change notification settings

surgeventures/confix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Confix

Read, parse and patch Elixir application's configuration

Features:

  • Get Mix config for your application in the most compact way
  • Parse {:system, "ENV_VAR"} tuples automatically for runtime config capabilities
  • Cast system tuples to specific type and provide defaults
  • Load config via system tuples from multiple env vars, taking first present one
  • Patch external library configs with all the above capabilities

Getting Started

Add confix as a dependency to your project in mix.exs:

defp deps do
  [{:confix, "~> 0.4"}]
end

Then run mix deps.get to fetch it.

Documentation

Visit documentation on HexDocs for a complete API reference.

About

Read, parse and patch Elixir application's configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages