DEV Community

Discussion on: Request for Node.js has been deprecated

Collapse
 
aerabi profile image
Mohammad-Ali A'RÂBI

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.