New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ipvl

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipvl

ipfs-versioned-file-log cli

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

ipvl cli

You can use this command-line-interface to publish different versions of a folder to IPFS and store these versions to a hypercore feed.

A package.json with the fields name, description and author is required.

You can use an .ipvlignore file to ignore files (following the same rules, as .gitignore files). Otherwise ipvl will look for a .gitignore file and use that if one exists. If there is neither an .ipvlignore or .gitignore all data will be copied.

commands

ipvl publish [options] <path> <version>

This will create a .ipvl folder in your given path. All files not specified in a .ipvlignore or .gitignore file will be copied to .ipvl/data/<version> and published to IPFS. The version, together with metadata from package.json and the IPFS-CID will be written to the hypercore feed located at .ipvl/data/log.

You can use --force to overwrite an existing .ipvl folder.

ipvl update <path> <version>

Use publish for your initial push to IPFS, and update for all further versions.

feed

A feed entry will look like this:

{
  "type":"update",
  "value":{
    "name":"my data name",
    "description":"my description",
    "author":"what people call me",
    "version":"0.0.1",
    "location": {
      "locationIdentifier":"an IPFS CID",
      "storageType":"ipfs"
      }
  }
}

FAQs

Package last updated on 05 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts