1.0.5 • Published 5 years ago

iss_spotter v1.0.5

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

ISS Spotter

An app for space enthusiasts who are interested in spotting the International Space Station (ISS). The space station is visible because it reflects sunlight. However, unlike the Moon, the space station isn't bright enough to be seen during the day. It can only be seen when it is dawn or dusk at your location.

index.js

Logs the result to console.log in a human-readable format. Sample Output

iss.js

Orchestrates multiple API requests in order to determine the next 5 upcoming ISS fly overs for the user's current location.

  • Input:
    • A callback with an error or results.
  • Returns (via Callback):
    • An error, if any (nullable)
    • The fly-over times as an array (null if error):
      [ { risetime: <number>, duration: <number> }, ... ]
    • Location used for the ISS info lookup:

iss_promiss.js and index2.js

Simillar to iss.js and index.js but implemented using Promises.