Skip to content

Commit 993fdb7

Browse files
committed
Update README.md
1 parent 4166092 commit 993fdb7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@ app.listen(3000, function(){
25452545

25462546
## Q. ***Explain the terms body-parser, cookie-parser, morgan, nodemon, pm2, serve-favicon, cors, .env, checksum, fs-extra, moment in Express JS?***
25472547

2548-
**a) `body-parser`**
2548+
**a) body-parser**
25492549

25502550
`body-parser` extract the entire body portion of an incoming request stream and exposes it on `req.body`. This body-parser module parses the JSON, buffer, string and URL encoded data submitted using HTTP POST request.
25512551

@@ -2580,7 +2580,7 @@ app.post('/api/users', jsonParser, function (req, res) {
25802580
})
25812581
```
25822582

2583-
**b) `cookie-parser`**
2583+
**b) cookie-parser**
25842584

25852585
A cookie is a piece of data that is sent to the client-side with a request and is stored on the client-side itself by the Web Browser the user is currently using.
25862586

@@ -2612,7 +2612,7 @@ app.get('/', function (req, res) {
26122612
app.listen(3000)
26132613
```
26142614

2615-
**c) `morgan`**
2615+
**c) morgan**
26162616

26172617
HTTP request logger middleware for node.js.
26182618

@@ -2643,7 +2643,7 @@ app.get('/', function (req, res) {
26432643
})
26442644
```
26452645

2646-
**d) `nodemon`**
2646+
**d) nodemon**
26472647

26482648
Nodemon is a utility that will monitor for any changes in source and automatically restart your server.
26492649

@@ -2665,7 +2665,7 @@ npm install -g nodemon
26652665
}
26662666
```
26672667

2668-
**e) `pm2`**
2668+
**e) pm2**
26692669

26702670
PM2[**P**(rocess) **M**(anager) **2**] is a production process manager for Node.js applications with a built-in load balancer. It allows to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
26712671

@@ -2683,7 +2683,7 @@ pm2 start app.js
26832683

26842684
**[[Read More](https://pm2.keymetrics.io/docs/usage/quick-start/)]**
26852685

2686-
**f) `serve-favicon`**
2686+
**f) serve-favicon**
26872687

26882688
Node.js middleware for serving a favicon. The `serve-favicon` module lets us exclude requests for the favicon in our logger middleware. It also caches the icon in memory to improve performance by reducing disk access. In addition, it provides an `ETag` based on the contents of the icon, rather than file system properties.
26892689

0 commit comments

Comments
 (0)