Reading JSON is easy; handling every variation in that JSON consistently takes more work. dump1090-sdk provides a typed interface for compatible decoder endpoints in browser and Node.js applications, bringing validation and common receiver-data operations into a reusable package.

Make uncertainty part of the model

Runtime validation and optional fields help account for observations that are incomplete or vary between implementations. Altitude may be a number or the ground sentinel. Treating that distinction explicitly is more reliable than letting an application assume every field is always numeric and present.

Reuse the routine pieces

Distance and bearing helpers support spatial features, while watch behavior includes backoff and cancellation through an abort signal. A readsb query helper supports compatible query use cases. These building blocks reduce repeated endpoint and polling code across related tools.

Start with the consumer you need

Use the SDK in a small script, a browser dashboard, or a larger service, then handle unavailable data in the interface itself. Types and validation do not guarantee that a receiver's observations are complete. The repository documents the supported endpoints, exports, and usage examples.

Explore dump1090-sdk → · Source and documentation ↗

Have a project in mind?