DRPM - npm for the DWeb
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.
Steps to install a DPK to an existing npm project using package.json deps.
{
"dependencies": {
"@drpm/packageName~methodSpecificId": "[prefix]M.m.p"
}
}
npm install
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
COMING SOON!