Code changes look good, but the readme should not list out the methods of the returned promise-like object as if they were methods that are part of the exported module like put.
How about something like:
Returns an object that wraps an `XMLHttpRequest` instance and behaves like a promise, with the following additional methods:
* `progress` - accepts a callback which will be called with an event representing the progress of the upload
* `abort` - aborts the xhr instance
Examples:
RNS3.put(file, options)
.progress((e) => console.log(e.loaded / e.total));
RNS3.put(file, option)
.abort();
Code changes look good, but the readme should not list out the methods of the returned promise-like object as if they were methods that are part of the exported module like
put
.How about something like: