queen-raae / gatsby-remark-oembed

A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
https://gatsby-remark-oembed.netlify.com/
MIT License
162 stars 25 forks source link

Consider removing Axios in favour of node-fetch #119

Closed nickytonline closed 3 years ago

nickytonline commented 3 years ago

fetch is not native in Node yet (I think they're working on it), but there is node-fetch.

It has a way smaller footprint than Axios and the extra stuff Axios provides is not required in the project from what I can tell. This change would also require pulling out the axios-mock-adapter package and replacing it with most likely jest-fetch-mock.

Documents and Links

raae commented 3 years ago

I just really like working with Axios ;D

nickytonline commented 3 years ago

I'll close this then @raae.