
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@squawk/airspace-data
Advanced tools
Pre-processed FAA NASR airspace GeoJSON snapshot for use with @squawk/airspace
Pre-processed GeoJSON snapshot of US airspace geometry from the 2026-04-16 FAA NASR
cycle. Data only - no query logic, no dependency on
@squawk/airspace.
Part of the @squawk aviation library suite. See all packages on npm.
import { usBundledAirspace } from '@squawk/airspace-data';
// Inspect metadata
console.log(usBundledAirspace.properties.nasrCycleDate); // YYYY-MM-DD
console.log(usBundledAirspace.properties.featureCount);
// Use with @squawk/airspace for zero-config airspace queries
import { createAirspaceResolver } from '@squawk/airspace';
const resolver = createAirspaceResolver({ data: usBundledAirspace });
Consumers who have their own data pipeline can use @squawk/airspace alone and
pass any compatible GeoJSON dataset at initialization.
For browsers, edge runtimes (Cloudflare Workers, Deno Deploy), and any other
environment without node:fs, import the async loader from the /browser
subpath. It fetches and decompresses the bundled .gz using Web Streams
(DecompressionStream) and the global fetch.
import { loadUsBundledAirspace } from '@squawk/airspace-data/browser';
import { createAirspaceResolver } from '@squawk/airspace';
const dataset = await loadUsBundledAirspace();
const resolver = createAirspaceResolver({ data: dataset });
The default URL is resolved relative to this module's import.meta.url,
which works under any modern ESM bundler when the package is installed
normally.
To host the asset on your own CDN, to use a bundler-resolved (hashed)
asset URL, or to override the URL for any other reason, pass an explicit
url:
import { loadUsBundledAirspace } from '@squawk/airspace-data/browser';
const dataset = await loadUsBundledAirspace({
url: 'https://your-cdn.example/airspace.geojson.gz',
});
The loader also accepts a custom fetch implementation, which is useful in
tests or in edge environments that need a configured fetcher.
The export is a GeoJSON FeatureCollection. Each feature's geometry is a Polygon
representing one airspace boundary. Feature properties include:
| Property | Type | Description |
|---|---|---|
type | string | Airspace type (CLASS_B, CLASS_C, CLASS_D, CLASS_E2-E7, MOA, RESTRICTED, ARTCC, etc.) |
name | string | Human-readable name |
identifier | string | NASR designator, airport identifier, or 3-letter ARTCC code |
floor | AltitudeBound | Lower vertical bound |
ceiling | AltitudeBound | Upper vertical bound |
state | string or null | Two-letter US state abbreviation |
controllingFacility | string or null | Controlling ARTCC or facility (null for ARTCC features) |
scheduleDescription | string or null | Operating schedule text |
artccStratum | ArtccStratum or null | For ARTCC features, the stratum (LOW, HIGH, UTA, CTA, FIR, CTA/FIR); null for all other types |
AltitudeBound is { valueFt: number, reference: 'MSL' | 'AGL' | 'SFC' }.
All geometry and metadata is derived from the FAA National Airspace System Resource
(NASR) 28-day subscription, which is public domain. Class B/C/D/E
boundaries come from the NASR ESRI Shapefile, SUA boundaries from the AIXM
5.0 XML files, and ARTCC boundaries from the ARB_BASE.csv and
ARB_SEG.csv tables in the NASR CSV distribution. The build pipeline that
produces this dataset lives in tools/build-airspace-data.
FAQs
Pre-processed FAA NASR airspace GeoJSON snapshot for use with @squawk/airspace
The npm package @squawk/airspace-data receives a total of 43 weekly downloads. As such, @squawk/airspace-data popularity was classified as not popular.
We found that @squawk/airspace-data 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.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.