suncalc
suncalc copied to clipboard
added moon transits calculations
I've added the possibility to calculate the moon transits.
var transits = suncalc.moonTransit(moonrise, moonset, lat, lng);
transits will be equal to an object like:
{main: {date}, invert: {date}}
The quantity of differences are because i've executed a little bit of jslint agains the file.
Can you bring back the original formatting? I don't see the actual diff.
I've restored the original format.
published a new version which include this as https://github.com/Hypnos3/suncalc3