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

Library Tutorials

Want to write your own awesome tutorials? Make and submit them today