daysun
v1.0.4
Published
Obtaining sunrise and sunset time based on longitude and latitude
Downloads
15
Maintainers
Readme
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"
}