
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@squawk/icao-registry
Advanced tools
FAA ICAO hex address to aircraft registration and info lookup
Resolves a 24-bit ICAO hex address to its aircraft registration and info. Pure logic library - contains no bundled data. Accepts an array of AircraftRegistration records at initialization. For zero-config use, pair with @squawk/icao-registry-data. Includes FAA ReleasableAircraft ZIP parsing utilities for consumers who want to fetch their own fresh data.
Part of the @squawk aviation library suite. See all packages on npm.
npm install @squawk/icao-registry
npm install @squawk/icao-registry-data
import { usBundledRegistry } from '@squawk/icao-registry-data';
import { createIcaoRegistry } from '@squawk/icao-registry';
const registry = createIcaoRegistry({ data: usBundledRegistry.records });
const aircraft = registry.lookup('A004B3');
import { createIcaoRegistry, parseFaaRegistryZip } from '@squawk/icao-registry';
const zipBuffer = await fetch('https://registry.faa.gov/database/ReleasableAircraft.zip').then(
(r) => r.arrayBuffer(),
);
const data = parseFaaRegistryZip(Buffer.from(zipBuffer));
const registry = createIcaoRegistry({ data });
import { createIcaoRegistry } from '@squawk/icao-registry';
const registry = createIcaoRegistry({
data: [{ icaoHex: 'A00001', registration: 'N12345', make: 'CESSNA', model: '172S' }],
});
For SPAs and edge runtimes, import from the /browser subpath. It re-exports createIcaoRegistry and the shared types but omits parseFaaRegistryZip, which depends on Node's Buffer and the adm-zip package and is unsuitable for browser bundles. Pair it with @squawk/icao-registry-data/browser:
import { loadUsBundledRegistry } from '@squawk/icao-registry-data/browser';
import { createIcaoRegistry } from '@squawk/icao-registry/browser';
const dataset = await loadUsBundledRegistry();
const registry = createIcaoRegistry({ data: dataset.records });
Browser consumers that need fresh FAA data should fetch and parse the ZIP server-side (where parseFaaRegistryZip is available) and feed the resulting records into the browser via their own API.
createIcaoRegistry({ data }) - builds a registry from an array of AircraftRegistration records.registry.lookup(icaoHex) - resolves a 24-bit ICAO hex address to a record, or undefined.registry.recordCount - total number of records in the loaded dataset.parseFaaRegistryZip(buffer) - parses a downloaded FAA ReleasableAircraft.zip into the AircraftRegistration[] shape that createIcaoRegistry expects. Node-only; not exported from the /browser entry.Under active development. See the docs for current API status.
FAQs
FAA ICAO hex address to aircraft registration and info lookup
The npm package @squawk/icao-registry receives a total of 267 weekly downloads. As such, @squawk/icao-registry popularity was classified as not popular.
We found that @squawk/icao-registry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.