Package Exports
- fetch-blob
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fetch-blob) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
fetch-blob
A Blob implementation on node.js, originally from node-fetch
Usage
$ npm install fetch-blob
const Blob = require('fetch-blob');
const fetch = require('node-fetch');
fetch('https://httpbin.org/post', {
method: 'POST',
body: new Blob(['hello'], { type: 'text/plain' })
})
.then(res => res.json()) // expecting a json response
.then(json => console.log(json));