UNPKG

rn-fetch

Version:

fetch API for react-native with binary support

16 lines (11 loc) 270 B
# rn-fetch clone of whatwg-fetch with minimal changes: - support `res.arrayBuffer()` - export as a module ## Usage ```js import rnfetch from 'rn-fetch' rnfetch(url) // use like you would fetch .then(res => res.arrayBuffer()) .then(doAmazingArrayBufferStuff) ```