Packages
enux
1.0.1
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
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
Current section
Files
Jump to
Current section
Files
README.md
# Enux
A package for reading environmental variables from env, json and jsonc style configuration files and injecting them into your application.
you can also validate and document your environment.
## Installation
The package can be installed by adding `enux` to your list of dependencies in `mix.exs`:
```elixir
defp deps do
[
{:enux, "~> 1.0.1"},
# if you want to load `.jsonc` files, you should have this
# you can also use this for `.json` files
{:jsonc, "~> 0.1"},
# 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.0"}
# or this
{:json, "~> 1.4"}
]
end
```
Documentation can be found at [https://hexdocs.pm/enux](https://hexdocs.pm/enux).