As I have mentioned in this StackOverflow answer, the reason for deprecation is both the interface and the underlying code.
Callbacks are very hard to deal with. This is why we have promisify and bindCallback for promises and observables, respectively. But, as request is a many-faced god, it's hard to get rid of its callback interface.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
As I have mentioned in this StackOverflow answer, the reason for deprecation is both the interface and the underlying code.
Callbacks are very hard to deal with. This is why we have
promisify
andbindCallback
for promises and observables, respectively. But, asrequest
is a many-faced god, it's hard to get rid of its callback interface.