DenoDDeno
Powered by
abiA
Deno•3y 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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Environment Variables & Args for Deno Testing in Visual Code Studio
dan.the.discloserDdan.the.discloser / help
4y ago
Using something like environment variables in fresh🍋
telesto🌛Ttelesto🌛 / help
12mo ago