3 ms·
What do you use for the new fetch api on node?
by dfischer 10y ago
What do you use for the new fetch api on node?
- mikeryan 10y agoI don't use it on Node but this syntax is great on react native.
- pitaj 10y agoProbably [node-fetch](https://www.npmjs.com/package/node-fetch https://www.npmjs.com/package/node-fetch)
- ascagnel_ 10y agonode-fetch is one option, but I go with isomorphic-fetch[0] (since it can be run client-side via Babel). [0] https://github.com/matthew-andrews/isomorphic-fetch https://github.com/matthew-andrews/isomorphic-fetch
- danielstocks 10y agofyi isomorphic-fetch is just a universal wrapper around node-fetch and github-fetch