New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

ipfs-add-from-url

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-add-from-url

A command line executable to add a file to IPFS from a URL instead of a file path

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
3
-40%
Maintainers
1
Weekly downloads
 
Created
Source

ipfs-add-from-url

A command line executable to add a file to IPFS from a URL instead of a file path

Dependency

Make sure IPFS is installed and the daemon running

ipfs daemon

Install

Globally

npm install -g ipfs-add-from-url
# Use anywhere
ipfs-add-from-url https://inventaire.io/public/icon/120.png

In a project

npm install ipfs-add-from-url --save
# Use directly from npm scripts
ipfs-add-from-url https://inventaire.io/public/icon/120.png
# Or using the relative path from the command line
./node_modules/.bin/ipfs-add-from-url https://inventaire.io/public/icon/120.png

Alternative

As suggested by ftnd33, you can do pretty much the same with

wget -q -O - http://url.tld | ipfs add -q

Keywords

IPFS

FAQs

Package last updated on 30 Jan 2017

Related posts