@grund/env v0.0.85
Overview
When @grund/env
is loaded it starts from the cwd (current working directory) and trying to find all env(.schema).grund
files. It then merges and parses them before injecting them into process.env
.
Usage
Just require/import @grund/env
wherever you want to load your environment variables
Parsing steps
- Find all relevant env(.schema).grund files
- Load and merge into one concatenated file
- Tokenize this merged content
- Parse the tokenized content
- Execute the parsed content
- Return the executed content
TODO
- Investigate the naming of the files. If we want to, we might allow several naming convensions. E.g. if one feels that
env.grund
is ugly, we might implement support for e.g..genv
or whatever - something that is more similar to.env
.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago