ipfs-or-gateway

4.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ipfs-or-gateway

Weekly Downloads

278

Version

4.1.0

License

MIT

Unpacked Size

7 kB

Total Files

5

Last publish

Collaborators

  • daviddias
  • alanshaw
  • hacdias
  • lidel