David Frank b197ea6198 release v1.0.4 (#4)
* changelog update
* 1.0.4
2019-09-23 18:40:13 +08:00
2019-05-16 13:52:35 +08:00
2019-05-16 15:49:12 +08:00
2019-09-23 18:40:13 +08:00
2019-05-16 13:52:35 +08:00
2019-09-23 18:40:13 +08:00
2019-09-23 18:40:13 +08:00
2019-05-16 16:15:58 +08:00
2019-05-16 16:15:58 +08:00

fetch-blob

npm version build status coverage status install size

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));

See MDN doc and Tests for more details.

S
Description
A Blob implementation in Node.js, originally from node-fetch.
Readme MIT
420 KiB
Languages
JavaScript 100%