IATA Active Airports
Airport codes (IATA) and information
Install
npm install iata-airports
Usage
The list of IATA active airports is wrapped in a Backbone Collection, so have access to all normal collection methods like findWhere
, at
, and sort
.
const airports = ; console;//=> Los Angeles Intl console;;//=> Sydney console;//=> Gorokaairportscomparator = 'city';airports;console;//=> 7 Novembre
If you'd like only the JSON list of airport codes, you can use either the Backbone Collection's toJSON
method or import the json list directly:
;;