A simple data fetcher that streams all changes made to npm and stores them in Hypercore. The changes are stored such that each version of a package that's released is one block in Hypercore.
npm install npm-to-hypercore -g
npm-to-hypercore [db]
Just run the npm-to-hypercore command. Takes an optional db argument
to use as the path to the database.
We have an instance of this running already. You can replicate data from it by using this hypercore key
f5d045813912dadbff4bdc8a43bb78da6685f965f1a88e430db49c793a5a1a01
To test it out you can use hypertail
hypertail /tmp/npm-to-hypercore f5d045813912dadbff4bdc8a43bb78da6685f965f1a88e430db49c793a5a1a01
MIT