An open API service indexing awesome lists of open source software.

https://github.com/xunnamius/env-utils

🧑🏿‍🏫 Validates environment variables at build/run time and errors if any constraints are violated
https://github.com/xunnamius/env-utils

dotenv dotenv-defaults dotenv-safe env env-expect envalid environment expect expect-env valid validate

Last synced: 4 months ago
JSON representation

🧑🏿‍🏫 Validates environment variables at build/run time and errors if any constraints are violated

Awesome Lists containing this project

README

          

# @-xun/env
[WIP]

- Node escaping needs double slash
- Small, simple
- globby power
- Cosmiconfig-urable (inline config wins)
- Let dotenv, dotenv-safe, dotenv-defaults, envalid, etc handle defining vars, this package ensures the total environment is in a valid state