0.3.1 • Published 4 years ago

airportsjs v0.3.1

Weekly downloads
232
License
MIT
Repository
github
Last release
4 years ago

airportsjs

Circle CI

A library to help you search and obtain airport codes.

Install

npm install airportsjs --save

Usage

index.lookupByIataCode('EWR')

{ name: 'Newark Liberty Intl',
  city: 'Newark',
  country: 'United States',
  iata: 'EWR',
  latitude: 40.6925,
  longitude: -74.168667 }
index.searchByAirportName('Newark')

[ { name: 'Newark Liberty Intl',
    city: 'Newark',
    country: 'United States',
    iata: 'EWR',
    latitude: 40.6925,
    longitude: -74.168667 },
  { name: 'Newark Penn Station',
    city: 'Newark',
    country: 'United States',
    iata: 'ZRP',
    latitude: 40.734722,
    longitude: -74.164167 } ]

License

MIT.

0.3.1

4 years ago

0.3.0

4 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago