Replace deprecated `request` by other more appropriate library
rtfpessoa opened this issue · 1 comments
rtfpessoa commented
Replace usage of request
in https://github.com/rtfpessoa/diff2html-cli/blob/master/src/http-utils.ts#L1 by a more appropriate library.
I was thinking of node-fetch
to match the browser APIs.
axios
can also be an alternative.