Nvir
▼
Project version
v0.13.2
v0.13.1
v0.13.0
v0.12.0
v0.11.0
v0.10.2
v0.10.1
v0.10.0
v0.9.4
v0.9.3
v0.9.2
v0.9.0
GUIDES
Modules
API Reference
Modules
Nvir – Elixir environment variables made simple
Installation
Basic Usage
Documentation
Interoperability
Difference with Dotenvy
Changelog
[0.13.2] - 2025-03-31
[0.13.1] - 2025-03-28
[0.13.0] - 2025-03-28
[0.12.0] - 2025-03-19
[0.11.0] - 2025-03-14
[0.10.2] - 2025-01-31
[0.10.1] - 2025-01-17
[0.10.0] - 2025-01-16
[0.9.4] - 2024-11-25
[0.9.3] - 2024-11-18
[0.9.2] - 2024-11-17
[0.9.1] - 2024-11-17
[0.9.0] - 2024-11-17
Loading Files
Loading dotenv files
Loading a single file
Loading from different sources
Overwrite mechanics
Load order
Custom loaders
Using a custom loader
Disabling default tags
Disabling all tags by default
Using a custom parser
Transforming the variables
Reading Variables
Reading Environment Variables
Requiring a variable
Default values
Built-in Casters
Custom Casters
Dotenv Format
Dotenv File Syntax Reference
Basic Syntax
Comments
Single-Line Values
Multiline Strings
Trailing Whitespace
Variable Interpolation
Variables Inheritance
System inheritance
Multiple files
Important edge case
Nvir
Summary
Types
config_opt/0
source/0
sources/0
t/0
transformer/0
var_def/0
Functions
default_dotenv_sources/0
dotenv!/1
dotenv!/2
dotenv_configure/2
dotenv_enable_sources/2
dotenv_enable_sources/3
dotenv_loader/0
dotenv_new/0
env!/2
env!/3
Nvir.Cast
Summary
Types
caster/0
result/0
Functions
cast/2
Nvir.Parser
Summary
Types
key/0
template/0
template_resolver/0
variable/0
Callbacks
parse_file/1
Functions
interpolate_var/2
Nvir.Parser.RDB
Summary
Types
buffer/0
parser/0
Functions
debug/2
parse_file/1
parse_string/1
Exceptions
Nvir.CastError
Nvir.LoadError
Nvir.Parser.ParseError
Search documentation of Nvir
Settings
Nvir.Parser.ParseError
exception
(Nvir v0.13.2)
View Source
Exception representing parse errors from the default parser
Nvir.Parser
.