Type Safe Env Variables With Envalid 🤯

preview_player
Показать описание
Use this package to check your .env file at runtime and make it work with TypeScript.

📣 Follow Coding in Flow on social media:
Рекомендации по теме
Комментарии
Автор

Thanks! Just started learning TypeScript and having this issue.

nathankohu
Автор

You can also use zod according to one tweet

skyhappy
Автор

thanks dude i got stuck for 2 hours in this bug

schin_verma
Автор

Good short. Train more at the talking!

pramadito
Автор

I used assertion and it works well. process.env.mongo_uri as string

ezetenduwilliams