DEV Community

Maaz Ahmed Khan
Maaz Ahmed Khan

Posted on • Edited on

Exciting News for Node.js Developers!

📣 One standout feature is the built-in support for .env files. Say goodbye to external packages Node.js now effortlessly loads your environment variables from a .env file. 🔄

Here's how to make the most of it:

1️⃣ Start by creating a .env file in your project's root directory.

2️⃣ To harness the power of this new feature, simply run your Node.js application with the '--env-file' flag like this:

Top comments (0)