philschatz / octokat.js

:octocat: Github API Client using Promises or callbacks. Intended for the browser or NodeJS.
http://philschatz.com/2014/05/25/octokat/
MIT License
421 stars 133 forks source link

Use the Fetch api #170

Closed philschatz closed 7 years ago

philschatz commented 7 years ago

This switches to use the fetch API instead of XMLHTTPRequest. It supports both github/fetch when used in a browser and bitinn/node-fetch when used via nodejs.

It also switches to using Promises by default; the node-js style callback format is still supported.

TODO

philschatz commented 7 years ago

This is released as a beta version so it can be more-widely tested: 0.9.0-0