In JavaScript land you can use process.env or import.meta.env to load in your environment variables. The problem is, theres no type checking on this by default and no build time checking that it exists. T3 Env solves this and allows us to get autocomplete, type-safety and more for our environment variables with nice error messages for when things go wrong.
T3 Env Docs: https://env.t3.gg/docs/introduction
-------
🐦 Twitter (X): https://jollycod.ing/x
🤓 Personal Site: https://jollycod.ing/me
💻 GitHub: https://jollycod.ing/git
JollyUI: https://jollycod.ing/ui
Where I Work: https://jollycod.ing/work