| Crates.io | rs1090-wasm |
| lib.rs | rs1090-wasm |
| version | 0.4.15 |
| created_at | 2024-12-29 17:25:53.546481+00 |
| updated_at | 2025-12-15 16:41:17.031809+00 |
| description | A real-time comprehensive Mode S and ADS-B data decoder |
| homepage | https://github.com/xoolive/jet1090 |
| repository | https://github.com/xoolive/jet1090 |
| max_upload_size | |
| id | 1498352 |
| size | 204,459 |
A WASM binding for the rs1090 library.
For the moment, only the decode function is wrapped.
Just run the following (or similar with your favourite package manager):
npm install rs1090-wasm
Loading is much more complicated. It depends on your environment.
We offer three subpackages:
These sub-packages are named rs1090-wasm, rs1090-wasm/nodejs, and rs1090-wasm/web, respectively.
Detailed explanations available for another library here (used as reference for the packaging)
In the Observable platform, you have to import the web library in a little convoluted way:
rs1090 = {
let module = await import("https://unpkg.com/rs1090-wasm/web/rs1090_wasm.js");
await module.default("https://unpkg.com/rs1090-wasm/web/rs1090_wasm_bg.wasm");
module.run(); // get better error messages if the Rust code panics
return module;
}
You can also just simply:
import { rs1090 } from "@xoolive/rs1090";