dht-client-daemon

1.0.3 • Public • Published

REST server to get the number of DHT peers

This is a nodejs REST server that exposes one endpoint to get the number of DHT peers.

It support multiple lookups using a single HTTP call. It does parallel calls with bittorrent-dht library that support parallel querying.

Example call:

GET /dht-peers?hashcsv=infoHash1,infoHash2,infoHashN

Response:

[{"hash":"infoHash1","peers":54}, {"hash":"infoHash2","peers":22}, {"hash":"infoHashN","peers":33}]

Readme

Keywords

none

Package Sidebar

Install

npm i dht-client-daemon

Weekly Downloads

1

Version

1.0.3

License

ISC

Last publish

Collaborators

  • lumen_pusher