From 3c8d8861e0bcff4675cc9f99d4b7e4b9aeee317c Mon Sep 17 00:00:00 2001 From: Aroyan <43630681+aroyan@users.noreply.github.com> Date: Wed, 5 Oct 2022 08:01:14 +0800 Subject: [PATCH] feat: add dotenv content on nodejs roadmap (#1935) * feat: add Set JavaScript content * feat: add dotenv content Co-authored-by: Kamran Ahmed --- .../104-environment-variables/100-dotenv.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/roadmaps/107-nodejs/content/106-nodejs-command-line-apps/104-environment-variables/100-dotenv.md b/content/roadmaps/107-nodejs/content/106-nodejs-command-line-apps/104-environment-variables/100-dotenv.md index defda27d8..f8e7b4078 100644 --- a/content/roadmaps/107-nodejs/content/106-nodejs-command-line-apps/104-environment-variables/100-dotenv.md +++ b/content/roadmaps/107-nodejs/content/106-nodejs-command-line-apps/104-environment-variables/100-dotenv.md @@ -1,8 +1,10 @@ -# Dotenv +# dotenv -The dotenv is a zero-dependency module that loads environment variables from a . env file into process. env +dotenv is a zero-dependency module that loads environment variables from a `.env` file into [process.env](https://nodejs.org/docs/latest/api/process.html#process_process_env). Storing configuration in the environment separate from code is based on [The Twelve-Factor App methodology](https://12factor.net/config). Free Content + +dotenv Docs Dotenv package Dotenv tutorial How to Use Node Environment Variables with a DotEnv File for Node.js and npm