Hacker News new | ask | show | jobs
by seniorsassycat 2313 days ago
> 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.

1 comments

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.