flight-stream
This is a readable stream in objectMode
that will provide flight information near your area matching certain conditions. By default it looks for A380s near Heathrow airport.
Usage
The library exposes only a readable stream that you may use however you like. The helper file irc.js uses it to pipe the information to an IRC channel via irc-stream.
Here is a simple way to just dump all matching planes spotted to console:
var config = location: latitude: 515083818 longitude: -05596166 maxDistance: 5*1000;var PlaneStream = ;config;
Configuration
For the config
object, the only thing you need to set is your location. But additionally you can set:
aircraft
if want to filter by a single aircraft using ICAO codesmaxDistance
the size of the bounding box to search for planes in metersmaxAltitude
of a plane in feetclockShift
if you would not want to use relative north for direction outputthrottleInterval
in seconds if you feel you get too many updates
License
MIT-Licensed. See LICENSE file for details.