I wanted to know why you use the request-ip
module in expressjs when you can use req.ip
? Thanks for the response!
Asked
Active
Viewed 20 times
-3

Sonicx180
- 1
- 5
-
tl;dr: use the request-ip module – Michael M. Oct 22 '22 at 21:55
1 Answers
0
request-ip
checks much more than just req.ip
and you don't have to write the code yourself. See how it works

Michael M.
- 10,486
- 9
- 18
- 34

Konrad
- 21,590
- 4
- 28
- 64