0.0.5 • Published 6 years ago

orianna v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Orianna

Another DHT crawler written in Node.js

Install

npm install orianna

Usage

const orianna = new (require('orianna'))

orianna.onHandleGetPeers((hash, addr) => {
  console.log(`Receive get peers message from DHT ${addr.address}:${addr.port} Infohash: ${hash}`)
})

orianna.onHandleAnnouncePeer((hash, addr, peerAddr) => {
  console.log(`Receive announce peer message from DHT ${addr.address}:${addr.port} Infohash: ${hash} Peer address: ${peerAddr.address}:${peerAddr.port}`)
})

orianna.run(6881)

Thanks

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago