dat-npm

npm registry on dat

dat-npm

npm for dat. try it out at npm.dathub.org

dat-npm works as a dat listen hook. first install dat

npm install -g dat
mkdir dat-npm
cd dat-npm
dat init # put in your info
npm install dat-npm # install the hook

then add the following hook to dat.json

{
  "name": "some-dat",
  "hooks": {
    "listen": "dat-npm"
  }
}

to start serving the data set simply to a dat listen which will make dat import npm.