Urigo / graphql-cli

📟 Command line tool for common GraphQL development workflows

Home Page:https://graphql-cli.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace node-fetch with slim-fetch

cktang88 opened this issue · comments

Is your feature request related to a problem? Please describe.
node-fetch is larger size than it should be, slim-fetch is much lighter with identical implementation and API.

Describe the solution you'd like
Replace node-fetch with slim-fetch.
https://www.npmjs.com/package/slim-fetch is a new library that has basically identical code to node-fetch, but stripped away unnecessary parts of the distribution (eg. node-fetch actually has three copies of the same code for backwards compatibility purposes).

Describe alternatives you've considered

Additional context