1.0.7 • Published 2 years ago

ham-cluster v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

HamCluster

An event-based TypeScript module for accessing ham radio spot clusters.

Installation

npm install ham-cluster --save

Usage

const HamCluster = require('ham-cluster');

const rbnCluster = new HamCluster(callsign, {
  hostname: "telnet.reversebeacon.net",
  port: 7000,
  type: "rbn"
});

// const plainCluster = new HamCluster(callsign, {
//   hostname: "w3lpl.net",
//   port: 7373
// });

rbnCluster.on('connected', ()=> {
  console.log("Connected!");
});
rbnCluster.on('spot', spot => {
  console.log(spot);
});
rbnCluster.on('error', error => {
  console.error(error);
});

TODO

  • Add automatic detection for comment fields from RBN, FT8, N1MM, etc.
  • Use inheritance for easy implementation (RBNSpot, FT8Spot, N1MMSpot extends Spot).
  • Improve edge cases and error handling.
  • Use "signed-in" event for timeout/retry.
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago