1.0.4 • Published 3 years ago
daysun v1.0.4
DaySun
Description
Calculate the sunrise and sunset time by your position information
How to use
code:
var ds = require('daysun');
var sunInfo = ds(lat, lng);
the sunInfo like this:
{
SunRise: "05:40:00",
SunSet: "19:11:00"
}