abiA
Deno3y ago
15 replies
abi

Safety measures (statically, not runtime) for libraries that require environment variables?

Suppose I have a Deno library which expects certain environment variables to have been configured, otherwise a crash will happen. Does anyone know of a good way to somehow ensure at "compile-time" that whatever Deno application is using the library has configured these environment variables?
Was this page helpful?