I was wondering if anyone could point me in the direction of resources that would guide me through the process of creating type safe environmental variables for a Deno project. I am using the @std/dotenv library to read the vars but how to make them type safe.
What would be considered best practice? Should I use Zod or can I extend an existing type/interface that exists?
Your help is gratefully appreciated.
No replies yet
Join the Discord to continue the conversation
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.