78ec7f45c0d54e4090423dbe56abd1d455223ba2
* sometimes the best ci cannot catch your silly export typo * changelog update * 1.0.3
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));
Languages
JavaScript
100%