1.1.0 • Published 8 years ago

world-airports v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

world-airports

A lightweight JavaScript wrapper for the World Airports API.

Install

$ npm install world-airports --save

Usage

import { worldAirports } from 'world-airports';

worldAirports('lax').then(console.log);

/*
[
  {
    "ac": "LAX",
    "an": "Los Angeles",
    "cn": "United States",
    "cc": "US",
    "ct": "Los Angeles"
  },
  {
    "ac": "LLA",
    "an": "Kallax",
    "cn": "Sweden",
    "cc": "SE",
    "ct": "Lulea"
  }
]
*/

LICENSE

MIT

1.1.0

8 years ago

1.0.0

8 years ago