SunCalc is a JavaScript library for calculating sunrise, sunset and culmination time.