developit / unfetch

🐕 Bare minimum 500b fetch polyfill.
https://npm.im/unfetch
MIT License
5.71k stars 201 forks source link

Updated example code #102

Closed ericmurphyxyz closed 4 years ago

ericmurphyxyz commented 6 years ago

Updated example code to ES6+ syntax as well as the new NPM syntax.