daysun

1.0.4 • Public • Published

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"
}

Package Sidebar

Install

npm i daysun

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

3.09 kB

Total Files

3

Last publish

Collaborators

  • lanseer