1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-29 20:21:50 +02:00

feat: add dotenv content on nodejs roadmap (#1935)

* feat: add Set JavaScript content

* feat: add dotenv content

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Aroyan
2022-10-05 08:01:14 +08:00
committed by GitHub
parent 9c8254f080
commit 3c8d8861e0

View File

@@ -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).
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://github.com/motdotla/dotenv#readme'>dotenv Docs</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.npmjs.com/package/dotenv'>Dotenv package</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://zetcode.com/javascript/dotenv/'>Dotenv tutorial</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.freecodecamp.org/news/how-to-use-node-environment-variables-with-a-dotenv-file-for-node-js-and-npm/'>How to Use Node Environment Variables with a DotEnv File for Node.js and npm</BadgeLink>