Skip to content

Commit 963dca8

Browse files
Update README.md
1 parent 701f5a9 commit 963dca8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2762,19 +2762,19 @@ When a NodeJs application runs, it injects a global variable called `process.env
27622762
npm install dotenv
27632763
```
27642764

2765-
**Example**
2766-
2767-
**.env**
2765+
**Usage**
27682766

27692767
```js
2768+
// .env
2769+
27702770
DB_HOST=localhost
27712771
DB_USER=admin
27722772
DB_PASS=root
27732773
```
27742774

2775-
**Config.js**
2776-
27772775
```js
2776+
// config.js
2777+
27782778
const db = require('db')
27792779

27802780
db.connect({

0 commit comments

Comments
 (0)