Built-in .env Files Support Starting from Node.js v20.6.0
Summary
A long-awaited feature amongst NodeJS developers. Finally, starting from Node.js v20.6.0, Node.js supports .env files for configuring environment variables. A video by Orleando Dassi ✅
We used to plug in third-party dependencies for that same need, the most notable one is dotenv.