New:Socket for Asana Is Now Available.Learn more
Get Started

@squawk/icao-registry

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squawk/icao-registry - npm Package Compare versions

Comparing version
0.5.0
to
0.5.1
+2
-2
package.json
{
"name": "@squawk/icao-registry",
"version": "0.5.0",
"version": "0.5.1",
"type": "module",

@@ -53,3 +53,3 @@ "description": "FAA ICAO hex address to aircraft registration and info lookup",

"dependencies": {
"@squawk/types": "^0.7.2",
"@squawk/types": "^0.8.0",
"adm-zip": "^0.5.17"

@@ -56,0 +56,0 @@ },

@@ -69,2 +69,9 @@ <h1><img src="../../../assets/squawk-logo.svg" alt="squawk logo" width="48" height="48" style="vertical-align: middle">&nbsp; @squawk/icao-registry</h1>

## 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](https://neilcochran.github.io/squawk/modules/_squawk_icao-registry.html) for current API status.