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 -g gatewayUrl]
-
--clean
– remove destination if it already exists -
--archive
– produce.tar
archive instead of unpacked directory tree -
--compress
– compress produced archive with Gzip, produce.tar.gz
(requires--archive
)
Contributing
PRs accepted.
License
MIT © Protocol Labs