README
ipfs-or-gateway
Download an hash via IPFS, falling back to an HTTP Gateway
Usage
npx ipfs-or-gateway -c cid -p path [--clean --archive --compress -a apiUrl]
--clean
– remove destination if it already exists--archive
– produce.tar
archive instead of unpacked directory tree--compress
– compress produced archive with Gzipi, produce.tar.gz
(requires--archive
)
Contributing
PRs accepted.
License
MIT © Protocol Labs