2020-06-11 10:01:22 +02:00
2020-06-11 10:01:22 +02:00
2020-06-10 21:08:54 +02:00
2020-06-11 10:00:58 -04:00
2019-05-16 13:52:35 +08:00
2020-06-11 10:01:22 +02:00
2020-06-11 10:01:22 +02:00

fetch-blob

npm version build status coverage status install size

A Blob implementation in Node.js, originally from node-fetch.

Installation

npm install fetch-blob

Usage

const Blob = require('fetch-blob');
const fetch = require('node-fetch');

fetch('https://httpbin.org/post', {
    method: 'POST',
    body: new Blob(['Hello World'], { type: 'text/plain' })
})
    .then(res => res.json());
    .then(json => console.log(json));

See the MDN documentation and tests for more details.

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