Skip to content

Commit bc6cd2f

Browse files
committed
Update README.md
1 parent 400e62d commit bc6cd2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 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-
### 1. body-parser
2548+
### 1. `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-
### 2. cookie-parser
2583+
### 2. `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

@@ -2655,7 +2655,7 @@ npm install -g nodemon
26552655

26562656
*Example*:
26572657

2658-
```json
2658+
```js
26592659
{
26602660
// ...
26612661
"scripts": {

0 commit comments

Comments
 (0)