2019-05-16 13:52:35 +08:00
2020-02-13 21:48:24 +13:00
2020-03-22 15:45:40 +13:00
2020-02-13 21:48:24 +13:00
2019-11-24 00:02:18 +08:00
2019-05-16 13:52:35 +08:00
2020-03-22 15:45:40 +13:00
2020-02-13 21:48:24 +13:00

fetch-blob

npm version build status coverage status install size

A Blob implementation in 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());
    .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%