Top all-time · #25282
Sergio Xalambrí
Personal blog · sergiodxa.com/articlesprogrammingweb
Sergio Xalambrí's personal blog at sergiodxa.com covers programming and web. Since 2022, 3 different Hacker News readers have linked it 3 times. It is still writing: the last post was on 2026-10-29, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
One commenter links this article on using Zod to validate and type environment variables, offered as a workaround for the typing gap in Node.js's built-in .env file support.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Web Developer from Buenos Aires with 10+ years of experience. I work at Daffy and maintain several open-source libraries around React Router and OAuth2.
What Hacker News says?
Not perfect, but you can use a validation library to explicitly pull in ENV variables and they will be typed. https://sergiodxa.com/articles/using-zod-to-safely-read-env-...
Comment linking /articles/using-zod-to-safely-read-env-variables
on “Node.js 20.6.0 will include built-in support for .env files”Submitted Keep Your Loader Data Fresh in Remix as a story · 1 points
HN discussionSubmitted Remix vs. Next.js Comparison as a story · 1 points
HN discussion