Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's the alternative to Request? I see Mikeal has made Bent [1], but I'm not sure if the new, alien syntax is worth it? Also found got [2], thoughts?

[1] https://github.com/mikeal/bent [2] https://github.com/sindresorhus/got



bent seems too "bare-bones" for my daily usage. If you like that good for you, but I have been using axios[0] which is more heavy weight.

https://github.com/axios/axios


Problem with Axios is that it has almost 500 open issues and not enough maintainers.

We've moved to fetch, which is not as handy, but is the standard lib in the browser. Actually we use wretch which adds a more convenient API on top of fetch.

https://github.com/elbywan/wretch

For Node we use node-fetch which mimics the fetch API using the native HTTP module in the background:

https://github.com/bitinn/node-fetch


I'm using axios in production for over 2 years now. Can you point me to a certain issue you had I'd need to anticipate (or check if I already have)?


I've used it in production for 3-4 years with no issues (that I know of) but it's a ticking time bomb.

https://github.com/axios/axios/issues/1965

https://www.reddit.com/r/javascript/comments/an94xq/axios_ne...


How is it a ticking time bomb if all of the tests pass in that package?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: