Description
A package for reading environmental variables from env and json style configuration files and injecting them into your application. You can also validate and document your environment.
Enux alternatives and similar packages
Based on the "Configuration" category.
Alternatively, view enux alternatives based on common mentions on social networks and blogs.
-
confex
Useful helper to read and use application configuration from environment variables. -
Skogsrå
Library to manage OS environment variables and application configuration options with ease -
Flasked
Injecting ENV vars into application configuration at runtime (12factor app for Elixir) -
configparser_ex
A simple Elixir parser for the same kind of files that Python's configparser library handles -
hush_aws_secrets_manager
An AWS Secrets Manager Provider for Hush -
hush_gcp_secret_manager
A Google Secret Manager Provider for Hush -
mahaul
Supercharge your environment variables in Elixir. Parse and validate with compile time access guarantees, defaults, fallbacks and app pre-boot validations. -
figaro_elixir
Environmental variables manager based on Figaro for Elixir projects -
CFEnv
Environmental helpers for cloudfoundry, parsing and returning values off VCAP_SERVICES and VCAP_APPLICATON
Static code analysis for 29 languages.
Do you think we are missing an alternative of Enux or a related project?
Popular Comparisons
README
Enux
utility package for loading, validating and documenting your app's configuration variables from env, json, jsonc and toml files at runtime and injecting them into your environment
Installation
The package can be installed by adding enux
to your list of dependencies in mix.exs
:
defp deps do
[
{:enux, "~> 1.2.0"},
# if you want to load `.jsonc` files, you should have this
# you can also use this for `.json` files
{:jsonc, "~> 0.2"},
# if you want to load `.json` files, you should have either this
{:jason, "~> 1.3"}
# or this
{:poison, "~> 5.0"}
# or this
{:jaxon, "~> 2.0"}
# or this
{:thoas, "~> 0.2"}
# or this
{:jsone, "~> 1.7"}
# or this
{:jiffy, "~> 1.1"}
# or this
{:json, "~> 1.4"}
# if you want to load `.toml` files, you should have either this
{:toml, "~> 0.6.2"}
# or this
{:tomerl, "~> 0.5.0"}
# or this
{:tomlex, "~> 0.0.5"}
]
end
Documentation can be found at https://hexdocs.pm/enux.