Decentralized Registry Package Manager (DRPM)

DRPM - npm for the DWeb

View the Project on GitHub bnonni/drpm.tools

Usage

DRPM is intended to be used for installing or publishing DPKs. Before using DRPM to install or publish DPKs, follow one of the processes in SETUP.md.

Table of Contents

Install DPK(s)

package.json dependencies

Steps to install a DPK to an existing npm project using package.json deps.

{
  "dependencies": {
    "@drpm/packageName~methodSpecificId": "[prefix]M.m.p"
  }
}

npm cli

Steps to install a DPK to an existing npm project using the npm cli.

npm install @drpm/packageName~methodSpecificId # if using dht
npm install @drpm/packageName~method~methodSpecificId # if not using dht
npm install --registry=localhost:2092 packageName~methodSpecificId # if using dht
npm install --registry=localhost:2092 packageName~method~methodSpecificId # if not using dht

Publish DPK(s)

COMING SOON!