Replace `request` lib with native http fetch or something lightweight
cktang88 opened this issue · comments
Kwuang Tang commented
Request is a very bloated lib, simply to do an http request
Jean M.C. commented
@peterbraden request has been deprecated, plz consider replace it with axios
Peter Braden commented
I get many requests to replace 'request' and interestingly there are many different suggestions on what to replace it with.
At some point I will remove request entirely from the project, and let people do their own HTTP fetching - it is overkill to have it in this library.
If you'd like to make a PR removing it, then please feel free.
Jean M.C. commented
hello, @peterbraden . I've created the PR #110
please review, thanks a lot!
Peter Braden commented
Fixed with #110