2.1.4 • Published 6 years ago

myrtlelime-airports v2.1.4

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

myrtlelime-airports

This is a collection of airports used by the Myrtlelime family of travel sites, including BookWithMatrix and All the Flight Deals.

The data is sourced from multiple sites for completeness, and combined into one JSON file with the important information. It should only be used server-side, as it's huge.

Usage

var airports = require('myrtlelime-airports');

console.log(airports.airports);

// Prints
// [
//   {
//     "name": "Atmautluak Airport",
//     "city": "Atmautluak",
//     "country": "us",
//     "iata": "369",
//     "latitude": "60.866667",
//     "longitude": "-162.273056",
//     "timezone": "America/Anchorage",
//     "hasScheduledService": false,
//     "countryName": "United States",
//     "state": null
//   },
//   ...

console.log(airports.airportsKeyed);
// Prints
// {
//   "369": {
//     "name": "Atmautluak Airport",
//     "city": "Atmautluak",
//     "country": "us",
//     "iata": "369",
//     "latitude": "60.866667",
//     "longitude": "-162.273056",
//     "timezone": "America/Anchorage",
//     "hasScheduledService": false,
//     "countryName": "United States",
//     "state": null
//   },
//   ...
2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.0.0

7 years ago