@tubular/astronomy

Astronomical calculations for planetary positions, moon phases, eclipses, rise, transit, and set times, and more.

Usage no npm install needed!

<script type="module">
  import tubularAstronomy from 'https://cdn.skypack.dev/@tubular/astronomy';
</script>

README

@tubular/astronomy

This package provides many astronomical calculations for sun, moon, and planets, including rise and set times, eclipse info, positions of the moons of Jupiter and Saturn, equinoxes and solstices, etc.

Coupled with an appropriate data service, it can also provide a star catalog, the position of Jupiter's Great Red Spot, and comet and asteroid positions.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm run test to execute the unit tests.