ipfs-fetch

JSON →
library 5.3.0 ·javascript
verified Jun 7, 2026

A library that provides a browser-compatible fetch() API for IPFS, allowing developers to fetch content from IPFS and IPNS URLs using the same interface as HTTP fetch. Version 5.3.0 is the latest stable release, with occasional updates. It wraps an IPFS instance (e.g., ipfs-core) and returns a fetch function that supports GET, PUT, HEAD methods, range requests, directory listings, and file uploads via FormData. Key differentiators: mimics Web Fetch API exactly, supports both ipfs:// and ipns:// schemes, and allows directory listing with HTML/JSON responses.