Re:Request Node lib used by 48k modules is now deprecated
by seniorsassycat on Tuesday February 18, 2020 @01:29PM
(#22358696)
> Request was created back when all we had was the stdlib `http` module.
What stdlib module supersedes `http`? Browsers have `fetch` and there's `node-fetch` and `axios` modules, but it's sad that core node hasn't updated the core http module.
Re:Request Node lib used by 48k modules is now deprecated
by sli on Tuesday February 18, 2020 @04:06PM
(#22360411)
Node has an http2 module as well, but it's still pretty low level. I don't think there's anything wrong with the stdlib module being lower level than the third-party ones.
What stdlib module supersedes `http`? Browsers have `fetch` and there's `node-fetch` and `axios` modules, but it's sad that core node hasn't updated the core http module.