---
title: "Comment by Jonathan Galdino on \"How to add Environment Variables in Node.js with Typescript in a type-safe way\" | Hashnode"
description: "Thx for the post, mate. I&#39;ve been combining this approach with a zod schema, works like a charm as well."
url: "https://hashnode.com/posts/nodejs-with-typescript-environment-variables-type-safe/64192ce4a3a06d29a99c6c04/comment/641c819e88cf343b36fc7634"
---

[Discussion](https://hashnode.com/posts/nodejs-with-typescript-environment-variables-type-safe/64192ce4a3a06d29a99c6c04)

Comment [How to add Environment Variables in Node.js with Typescript in a type-safe way](https://hashnode.com/posts/nodejs-with-typescript-environment-variables-type-safe/64192ce4a3a06d29a99c6c04)

[Jonathan Galdino](https://hashnode.com/@jonathangaldino)

[Mar 23, 2023](https://hashnode.com/posts/nodejs-with-typescript-environment-variables-type-safe/64192ce4a3a06d29a99c6c04/comment/641c819e88cf343b36fc7634)

Thx for the post, mate.

I've been combining this approach with a zod schema, works like a charm as well.
