fetch-blob
npmv4.0.0TypeScriptBlob & File implementation in Node.js, originally from node-fetch.
Not recommended for new projects
No — fetch-blob should not be adopted for new projects. Last published 1210 days ago.
- AAdoption: grade A, Excellent.
52.7M downloads per week and 2 known dependents.
- FMaintenance: grade F, Failing.
Last published 1210 days ago.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 29 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding fetch-blob to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing fetch-blob, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=16.7
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the fetch-blob README.
import {Readable} from 'stream'
const stream = Readable.from(blob.stream())fetch-blob vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| fetch-blobthis page | 52.7M | 2 | MIT | 3 years ago |
| callsites | 136.7M | 1 | MIT | 1 day ago |
| mime | 136.4M | 6 | MIT | 1 day ago |
| open | 130.4M | 4 | MIT | 1 day ago |
| send | 127.6M | 3 | MIT | 1 day ago |
| normalize-path | 72.6M | 1 | MIT | 1 day ago |
Dependencies
Declared by fetch-blob v4.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (3)
Used by
Popular packages that depend on fetch-blob.
Relationship graph
Dependencies (left) and dependents (right) of fetch-blob.
Frequently installed together
HTML5 `FormData` for Browsers and Node.
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
TypeScript definitions for node
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
An implementation of WHATWG AbortController interface.
Create an ArrayBuffer instance from a Data URI string
Release history
No releases in the last two years, typically about 27 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.0.0latest | 3 years ago | 24 KB | MIT |
| 3.2.0 | 4 years ago | 21 KB | MIT |
| 3.1.5 | 4 years ago | 22 KB | MIT |
| 3.1.4 | 4 years ago | 21 KB | MIT |
| 3.1.3 | 4 years ago | 21 KB | MIT |
| 3.1.2 | 5 years ago | 22 KB | MIT |
| 3.1.1 | 5 years ago | 24 KB | MIT |
| 3.1.0 | 5 years ago | 23 KB | MIT |
| 3.0.1 | 5 years ago | 24 KB | MIT |
| 3.0.0 | 5 years ago | 24 KB | MIT |
| 3.0.0-rc.0 | 5 years ago | 20 KB | MIT |
| 2.1.2 | 5 years ago | 14 KB | MIT |
| 2.1.1 | 6 years ago | 13 KB | MIT |
| 2.1.0 | 6 years ago | 13 KB | MIT |
| 2.0.1 | 6 years ago | 11 KB | MIT |
Overview
fetch-blob is an npm package that blob & File implementation in Node.js, originally from node-fetch. It is extremely widely used, with about 52.7M downloads per week and 2 known dependents in the graph. The latest version is 4.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need blob & File implementation in Node.js, originally from node-fetch and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (52.7M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Keywords
Funding
Frequently asked questions
Should I use fetch-blob?
No — fetch-blob should not be adopted for new projects. Last published 1210 days ago.
How do I install fetch-blob?
Run `npm install fetch-blob` to add fetch-blob to your npm project.
How many dependencies does fetch-blob have?
fetch-blob declares 4 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 29 KB on disk.
What license is fetch-blob released under?
fetch-blob is distributed under the MIT license.
How popular is fetch-blob?
fetch-blob has approximately 52,712,322 downloads per week and 2 known dependent packages.
Is fetch-blob still maintained?
The most recent release of fetch-blob (v4.0.0) was published 3 years ago.
Does fetch-blob run install scripts?
No. fetch-blob does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.