closure-fetch

0.4.2 • Public • Published

Closure Fetch

A minimal fetch implementation that supports sending ArrayBuffer and plain strings. Retrieval only supports array buffers as response.

fetch('/myfile.zip').then(function (response) {
  response.arrayBuffer().then(function (buffer) {
  });
});

Readme

Keywords

none

Package Sidebar

Install

npm i closure-fetch

Weekly Downloads

33

Version

0.4.2

License

BSD

Last publish

Collaborators

  • bramstein