Skip to content

Latest commit

 

History

History
executable file
·
17 lines (12 loc) · 492 Bytes

README.md

File metadata and controls

executable file
·
17 lines (12 loc) · 492 Bytes

IPFS Fetch

Simple no-fuss Node.js module for fetching data from IPFS.

This is actively maintained, but isn't being developed with bells and whistles that we don't internally need from it at this time (e.g. TypeScript type declaration). If you need to add something, feel free to send a pull request.

Usage:

const {ipfsFetch} = require('ipfs-fetch');

const hash = 'QmakJxydkB5XNhE8gA5kTq9MpxaN4fsWcTp1EzwdcYNVip';
const buf = await ipfsFetch(hash);
console.log(buf.toString());