iss_spotter

1.0.5 • Public • Published

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.

Package Sidebar

Install

npm i iss_spotter

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

61.1 kB

Total Files

7

Last publish

Collaborators

  • rahmatsaeedi