v2.0: suncalc reloaded
This is a complete rewrite of SunCalc. It uses a new (and hopefully more accurate) set of formulae, and is tested more thoroughly.
There's a new API. See the migration guide for how to migrate your old code.
It took me a lot of time to read about astronomy calculations, and to rewrite this library. I hope you like the result.