An node.js implementation of devp2p's Distrubuted Peer Table. A DPT is like DHT but just stores peering info.
Because package uses cryptocoinjs/secp256k1-node you need C++ compiler.
npm install devp2p-dpt
See examples in examples/
But don't hesitate check source code, it's always actual and gives much insight.