Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usage of request library with node-fetch #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adi-g15
Copy link

@adi-g15 adi-g15 commented Apr 7, 2021

The request package was deprecated in March 2019, and as such suggested alternatives to use for future projects, so i think it would be better shifting to the alternatives, before i start working on it, this change was a part of that, and i think this is good candidate for a PR too.

The choice of node-fetch is only one of the alternative libraries suggested, plus it's API is similar to the client side fetch function which is already supported by most current browsers.

There has been no visible changes on the client side in this PR though 馃檪

Apart from above, I added a "dev" script in package.json, since nodemon is listed as dev dependency, it's good to have a quick "yarn dev" command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant