Skip to content

v2.0: suncalc reloaded

Compare
Choose a tag to compare
@shred shred released this 26 Oct 17:26
· 141 commits to master since this release

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.