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.2.2/suncalc.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/suncalc/1.2.2/suncalc.js
  • https://cdnjs.cloudflare.com/ajax/libs/suncalc/1.2.2/suncalc.min.js.map