rn-fetch

1.1.0 • Public • Published

rn-fetch

clone of whatwg-fetch with minimal changes:

  • support res.arrayBuffer()
  • export as a module

Usage

import rnfetch from 'rn-fetch'

rnfetch(url) // use like you would fetch
  .then(res => res.arrayBuffer())
  .then(doAmazingArrayBufferStuff)

Package Sidebar

Install

npm i rn-fetch

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

13.9 kB

Total Files

4

Last publish

Collaborators

  • tenaciousmv