npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@squawk/airspace-data

v0.4.0

Published

Pre-processed FAA NASR airspace GeoJSON snapshot for use with @squawk/airspace

Readme

MIT License npm TypeScript

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.

Coverage

  • Class B, C, D, and E controlled airspace (E2 through E7 subtypes)
  • Special Use Airspace: MOAs, restricted, prohibited, warning, alert, and national security areas
  • ARTCC (Air Route Traffic Control Center) lateral boundaries for all US-controlled centers, published per stratum (LOW/HIGH/UTA, plus oceanic CTA/FIR where applicable)

Usage

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.

Data format

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' }.

Data source

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.