suncalc

A tiny JavaScript library for calculating sun/moon positions and phases.

Tags: sun, astronomy, math, calculation, sunrise, sunset, twilight, moon, illumination

Version

Asset Type

  • https://cdnjs.cloudflare.com/ajax/libs/suncalc/1.9.0/suncalc.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/suncalc/1.9.0/suncalc.js