Get unlimited public & private packages + team-based management with npm Teams.Learn more »

ipfs-or-gateway

2.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 -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

Keywords

none

Install

npm i ipfs-or-gateway

DownloadsWeekly Downloads

88

Version

2.1.0

License

MIT

Unpacked Size

6.48 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar