{"_id":"suncalc","_rev":"42-4c8f9de8197934ad39a07c7bbd4d7485","name":"suncalc","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","dist-tags":{"latest":"1.9.0"},"versions":{"1.0.0":{"name":"suncalc","description":"A tiny JavaScript library for calculating sun position and sunlight phases for the given location and time.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","version":"1.0.0","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"_id":"suncalc@1.0.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"68d2cc4949e718d865c78338a99b095c7c26fb1b","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.0.0.tgz","integrity":"sha512-LJREgEvRcPDLkbOILXy/FEdin5IepXsu07qI4PNkQe10tluyEQGulkqM5cxcysLZs1bLX3PdP2Lb7aSWOyLNgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhm4ZmubkzavWaKAmBIUgkGyLW9JtlWYC+IVR49TIJgAiEAkTV6bc3McYqjaDdunP3AiS6JDss56c66PvdWyjMbIbI="}]},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.1.0":{"name":"suncalc","description":"A tiny JavaScript library for calculating sun/moon position and sunlight phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","version":"1.1.0","_id":"suncalc@1.1.0","dist":{"shasum":"6e277570ddaf681728e2cced6803c24cedb436ed","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.1.0.tgz","integrity":"sha512-wzERd9gB7jXdZmm58SsaHzPOhs/GDNP5swJqi4hFMYX62Tya63vfIMjjbS2dzvrTKbjeOQxVfxfRYHOa64zCyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAQkG5GAa0v7EX0Iz/+oeAWrzh8odTLBbjbCA5p3W/hAiAzZT5bZFi5DMUQFvx6TJl/qvrrEot9volCKWGYrntEog=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.2.0":{"name":"suncalc","version":"1.2.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","_id":"suncalc@1.2.0","dist":{"shasum":"2511da9e393dcf2796eacb79b1ee72fa4ac90a48","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.2.0.tgz","integrity":"sha512-MmNJd4VF8DY6VEswe3bqozAyU11Umxb4y75/eQrC5PKXtnncGJfxH3JAtTofI/MDTN+wVmoMIOejL5Yh6zY95w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5jdA7cSmH16SbbScGXaN5LSRHdZg0+7ak7fEd6+z6ZAiAzU3Tddt7pjf999ZYrOiDG/iRXvKvMY3H5Ixrr6RX/tw=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.2.1":{"name":"suncalc","version":"1.2.1","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","_id":"suncalc@1.2.1","dist":{"shasum":"e7007fe5b97b49c22077bf1b5eb912ad1feac8dd","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.2.1.tgz","integrity":"sha512-ThcHy093Y1NT9bWaEaxg9b0lBekE7Onx1LuUEaLhDopEjZL9Wkv872U5/9p+uSDFSezgdNjaxoHBEikl0fhtTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFaDX2cAkCjhqnXBYjnxTxgYNX/gNUyoMCGCbz88OVqLAiA5Bm77KfxuBZgoU20gi1tkU9kg3fgLKzYykny4S4pjfQ=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.2.2":{"name":"suncalc","version":"1.2.2","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"mocha":"~1.13.0"},"scripts":{"test":"./node_modules/.bin/mocha"},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.2.2","dist":{"shasum":"d5894e30119961e32142ca9aea5a30ea4a92b50a","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.2.2.tgz","integrity":"sha512-kTaO5+9TaqGjrEBUQom1QWhC1l5csc2TRT599JZAQMO/mv0uQ9/BsTJD73ePINdEzA/T63AxA04EMzfxC4m2qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu29cpYUJ4m4BZGnwRdSR5d4PLzrpDCTPyz3OkfGT+4AiAXmu/FU9Q3VRpZYvoQXxCYhueiAtYe1pl1H9SNMx42aA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.3.0":{"name":"suncalc","version":"1.3.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"mocha":"~1.13.0"},"scripts":{"test":"mocha"},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.3.0","dist":{"shasum":"c1aa964da8e85d7a19e24bd23ee3a5b772d36e7f","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.3.0.tgz","integrity":"sha512-xsTkEarRL7/28EGSXq8uN/jTqxOVfaT3qyl5mSM93ZxEUFcAQs3ZHhxErdcL8JPObJME2+z1iUAQvSOGk6fjOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBSdBlMRiaAy2mQAA+/VaZK3H3y0/NPZQQVaTr8cy2hAiBGOiLoZaF4We9cAmtagJDLYalOJqAAyhTtFMO2GHODYQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.4.0":{"name":"suncalc","version":"1.4.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"tape":"^2.12.1","jshint":"^2.4.4","faucet":"0.0.1"},"scripts":{"test":"jshint suncalc.js test.js && node test.js | faucet","cov":"istanbul cover test.js -x test.js"},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.4.0","dist":{"shasum":"76c41cd7cac195139f8479fb5ddd221fdeafcd36","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.4.0.tgz","integrity":"sha512-66n7RwaDZ1pv1TBKPyv4mG3fB9SjsHgbXT1L4S00VE16o003Ovx4VjmsMz9+zEpalen51Wt9ZFEBtT6XbCYI6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYHY9PjcMbpaRzgqOtnkloUNIKM3iAAG9LtxwuRtNn2wIhAM7WiY/SioW5lw0S8q+vphRSamIxuk5Ldi2wxCui79xC"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.5.0":{"name":"suncalc","version":"1.5.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"tape":"^2.12.3","jshint":"^2.5.0","faucet":"0.0.1"},"scripts":{"test":"jshint suncalc.js test.js && node test.js | faucet","cov":"istanbul cover test.js -x test.js"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.5.0","dist":{"shasum":"cf0f84398cfeb13d81c82edb6a53765be8e825b5","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.5.0.tgz","integrity":"sha512-nSQBhn78p0WigKSweXjMwoQQEN4F3wNvRQHpINi7tPyTLehETLctK7GYPQ6+2BtoZhkfrJJLRoXb6GjIp7eIlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsL/vF5KbbdPrYiNI0aLytNBGpJNLZrFkPFBLTnw7GJAiAn5517iT2o2bG7jXMdY/E8pLuxJ0w++50OgH0z97g7mg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.5.1":{"name":"suncalc","version":"1.5.1","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"tape":"^2.12.3","jshint":"^2.5.0","faucet":"0.0.1"},"scripts":{"test":"jshint suncalc.js test.js && node test.js | faucet","cov":"istanbul cover test.js -x test.js"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.5.1","dist":{"shasum":"9fe10bec68506bec723faed01e97bcfb3dee8ba0","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.5.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.5.2":{"name":"suncalc","version":"1.5.2","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"tape":"^2.12.3","jshint":"^2.5.0","faucet":"0.0.1"},"scripts":{"test":"jshint suncalc.js test.js && node test.js | faucet","cov":"istanbul cover test.js -x test.js"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.5.2","_shasum":"89cb7fc80cb9810a834c05ed8d874cf17649be92","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"dist":{"shasum":"89cb7fc80cb9810a834c05ed8d874cf17649be92","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.5.2.tgz","integrity":"sha512-fj9ExW2u5d9Nypi33woj7nNYzYs0SCT3lE6Rc+XI3dbxji7CNjeeDsQ90C7tQyrInHW+35Swe9o0G0894Gpvyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3emW8ImYbEKawpTajpmbcgXBT9jAJQpyVI1uZWs2hLwIhALIMmL01GDrc7f/Amj8f1l4gDB2CbRms71T+MClpKydR"}]},"directories":{}},"1.6.0":{"name":"suncalc","version":"1.6.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"tape":"^2.12.3","jshint":"^2.5.0","faucet":"0.0.1"},"scripts":{"test":"jshint suncalc.js test.js && node test.js | faucet","cov":"istanbul cover test.js -x test.js"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"gitHead":"8d658a116ca115846ca474f6ee96786379ad5fc1","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.6.0","_shasum":"b197ea84a0998689655954836c607076a3635f15","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"dist":{"shasum":"b197ea84a0998689655954836c607076a3635f15","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.6.0.tgz","integrity":"sha512-kOOY/0NiFzIoj1+NwrwxJrAYZo4ZH1Nlc9plJHRzP1vb7TRVn8RLbx3VZvMTez4h8OuX2dEpMWG+lY3fbtuZww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgqNyb+PQCO3g4wY01dxHu7OHrnDpLOE6/h5E1IoensAIhAJaO4HEbzsx4VpEh+pYpv6sdXOm8BloAwLI4VXsklqJH"}]},"directories":{}},"1.7.0":{"name":"suncalc","version":"1.7.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"eslint":"^1.9.0","eslint-config-mourner":"^1.0.1","tap":"^2.2.0"},"eslintConfig":{"extends":"mourner","rules":{"indent":0,"array-bracket-spacing":0,"strict":0,"brace-style":0},"env":{"amd":true}},"scripts":{"pretest":"eslint suncalc.js test.js","test":"tap test.js","cov":"tap test.js --cov"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"gitHead":"43916647ee436832b5853fac38e41d8420a3f26f","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.7.0","_shasum":"b1a684ae9b87be8ce46573da2b08e56298e946bc","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.7","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"dist":{"shasum":"b1a684ae9b87be8ce46573da2b08e56298e946bc","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.7.0.tgz","integrity":"sha512-lDN7nBPMJXiUhwxoDGYze8wFtngCYvP3F9ngoKNPTEfZ2QkIylZXwzyhDkG2aKQ11CFioGEAZX5Xpk82ekyS1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxLa3I/2s7jjBwYZUFYbyYUD1eW9qkGt3oFzIXkE4PhAIhAOoGnabIWXMXOS1f2eMTAO3/463MECpwF4AX3Aem5faz"}]},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"1.8.0":{"name":"suncalc","version":"1.8.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"eslint":"^3.12.2","eslint-config-mourner":"^2.0.1","tap":"^8.0.1"},"eslintConfig":{"extends":"mourner","rules":{"indent":0,"array-bracket-spacing":0,"strict":0,"brace-style":0},"env":{"amd":true}},"scripts":{"pretest":"eslint suncalc.js test.js","test":"tap test.js","cov":"tap test.js --cov"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"gitHead":"b08d1f6f8e56a3c0d85469d6cf0ff8675cba40a5","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.8.0","_shasum":"1d9898109563078750f4994a959e654d876acbf5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"dist":{"shasum":"1d9898109563078750f4994a959e654d876acbf5","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.8.0.tgz","integrity":"sha512-fyyqA8Az3HnYkNtiiniU0g4xZZXnZYWjuRSS0RegfbmYTbe7idmv4L2Lho/Ez+/HsrmNjuop/bL/FutjtrTT3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChV2qSWNbOUZrzonJGzcCOcsqmTMrv9101SYrvPjlTWAIhAOR1w3WTo6QCqU4kij8+3KFZM82xkkZri8eBXl/hFDcH"}]},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/suncalc-1.8.0.tgz_1482502981360_0.05787906516343355"},"directories":{}},"1.9.0":{"name":"suncalc","version":"1.9.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"suncalc.js","devDependencies":{"eslint":"^8.8.0","eslint-config-mourner":"^2.0.1","tape":"^5.5.0"},"eslintConfig":{"extends":"mourner","rules":{"indent":0,"array-bracket-spacing":0,"strict":0,"brace-style":0},"env":{"amd":true}},"scripts":{"pretest":"eslint suncalc.js test.js","test":"node test.js","prepublishOnly":"npm test"},"jshintConfig":{"quotmark":"single","trailing":true,"unused":true},"gitHead":"6bc2757074c1e5eaa2389aa2ab36806f04c6d2a0","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_id":"suncalc@1.9.0","_nodeVersion":"14.19.0","_npmVersion":"8.4.0","dist":{"integrity":"sha512-vMJ8Byp1uIPoj+wb9c1AdK4jpkSKVAywgHX0lqY7zt6+EWRRC3Z+0Ucfjy/0yxTVO1hwwchZe4uoFNqrIC24+A==","shasum":"26212353fae61edb287c2d558fc4932ecf0e1532","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.9.0.tgz","fileCount":4,"unpackedSize":18935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAMcfCRA9TVsSAnZWagAAf6YP/Aj9JqkkZ2xzB2BYdATY\nEQEKYnI5QknpdDCi+hc9ZpYhG+BYEsMPEQW3iny2d6LIEtyOjzPhbJnGJ+q+\nE+V4hElCbZ7YLTkJ91dJAwubsuGSiPLEWQ1qaWN+yhrNSJNpHSyF/nn1a27m\njgrzshZtf6Cmai9b3jU//4js468cW+ECiZ+jSHbHNSFKG9RGBlXurp5nl2Ki\nOP/ZBZ2HFbZvdWB1khSC871iuQTaQQZf4fg96IyHNjDxaQvt5J/Fb5FVLrGW\nKDdbhxjllAgZdGh2mbnm0Ms0v7FIRui31FWnU3HL+Y/2r+Wdb7Tromeu8776\nlmvbDmfBFHrBxLdHrnOReCUsbkaCkSka71dVVyfE6X4sIPQP02W4y+C7PdP6\nnRlpxQjbRMHxllMC1/ORyWjALuRDqLfZIHfKvjIJ8vOObyV3RUEp/nR9rctg\n6crKDIpdKXN5PgFENYFrQYcc/SRNtl1J0PIjqTmIi+14Lh2M/u7SBfHxwr6f\n2Sb4TU+5hm+pXNE71b0A1xrbsbdqUETOghtMn3+rv6Sp1MFTOqo1dxs8kBZX\nwVjvBvsaqxfDenej9kQZpZZUVK27uwHyk04+2RCLV9Ki+SNIaRnlwFEnCe+Q\nfiio0OcC5mmk3zfvpsYVv10wakX1EeeUaUTKfzduu96WLD+FKXCOjH8j+Dko\n1ucu\r\n=KjMp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGy8Z8HoQniRQ65AyVITEKneMOCWJmRX+oeAqnom/BK4AiBX7LrR/7QCWwS4fLxlAyJBxapq7a9A27EYJ02oNBSmOw=="}]},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"directories":{},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/suncalc_1.9.0_1644218143581_0.27699975041219527"},"_hasShrinkwrap":false}},"readme":"\nSunCalc\n=======\n\n[![Build Status](https://travis-ci.org/mourner/suncalc.svg?branch=master)](https://travis-ci.org/mourner/suncalc)\n\nSunCalc is a tiny BSD-licensed JavaScript library for calculating sun position,\nsunlight phases (times for sunrise, sunset, dusk, etc.),\nmoon position and lunar phase for the given location and time,\ncreated by [Vladimir Agafonkin](http://agafonkin.com/en) ([@mourner](https://github.com/mourner))\nas a part of the [SunCalc.net project](http://suncalc.net).\n\nMost calculations are based on the formulas given in the excellent Astronomy Answers articles\nabout [position of the sun](http://aa.quae.nl/en/reken/zonpositie.html)\nand [the planets](http://aa.quae.nl/en/reken/hemelpositie.html).\nYou can read about different twilight phases calculated by SunCalc\nin the [Twilight article on Wikipedia](http://en.wikipedia.org/wiki/Twilight).\n\n\n## Usage example\n\n```javascript\n// get today's sunlight times for London\nvar times = SunCalc.getTimes(new Date(), 51.5, -0.1);\n\n// format sunrise time from the Date object\nvar sunriseStr = times.sunrise.getHours() + ':' + times.sunrise.getMinutes();\n\n// get position of the sun (azimuth and altitude) at today's sunrise\nvar sunrisePos = SunCalc.getPosition(times.sunrise, 51.5, -0.1);\n\n// get sunrise azimuth in degrees\nvar sunriseAzimuth = sunrisePos.azimuth * 180 / Math.PI;\n```\n\nSunCalc is also available as an NPM package:\n\n```bash\n$ npm install suncalc\n```\n\n```js\nvar SunCalc = require('suncalc');\n```\n\n\n## Reference\n\n### Sunlight times\n\n```javascript\nSunCalc.getTimes(/*Date*/ date, /*Number*/ latitude, /*Number*/ longitude, /*Number (default=0)*/ height)\n```\n\nReturns an object with the following properties (each is a `Date` object):\n\n| Property        | Description                                                              |\n| --------------- | ------------------------------------------------------------------------ |\n| `sunrise`       | sunrise (top edge of the sun appears on the horizon)                     |\n| `sunriseEnd`    | sunrise ends (bottom edge of the sun touches the horizon)                |\n| `goldenHourEnd` | morning golden hour (soft light, best time for photography) ends         |\n| `solarNoon`     | solar noon (sun is in the highest position)                              |\n| `goldenHour`    | evening golden hour starts                                               |\n| `sunsetStart`   | sunset starts (bottom edge of the sun touches the horizon)               |\n| `sunset`        | sunset (sun disappears below the horizon, evening civil twilight starts) |\n| `dusk`          | dusk (evening nautical twilight starts)                                  |\n| `nauticalDusk`  | nautical dusk (evening astronomical twilight starts)                     |\n| `night`         | night starts (dark enough for astronomical observations)                 |\n| `nadir`         | nadir (darkest moment of the night, sun is in the lowest position)       |\n| `nightEnd`      | night ends (morning astronomical twilight starts)                        |\n| `nauticalDawn`  | nautical dawn (morning nautical twilight starts)                         |\n| `dawn`          | dawn (morning nautical twilight ends, morning civil twilight starts)     |\n\n```javascript\nSunCalc.addTime(/*Number*/ angleInDegrees, /*String*/ morningName, /*String*/ eveningName)\n```\n\nAdds a custom time when the sun reaches the given angle to results returned by `SunCalc.getTimes`.\n\n`SunCalc.times` property contains all currently defined times.\n\n\n### Sun position\n\n```javascript\nSunCalc.getPosition(/*Date*/ timeAndDate, /*Number*/ latitude, /*Number*/ longitude)\n```\n\nReturns an object with the following properties:\n\n * `altitude`: sun altitude above the horizon in radians,\n e.g. `0` at the horizon and `PI/2` at the zenith (straight over your head)\n * `azimuth`: sun azimuth in radians (direction along the horizon, measured from south to west),\n e.g. `0` is south and `Math.PI * 3/4` is northwest\n\n\n### Moon position\n\n```javascript\nSunCalc.getMoonPosition(/*Date*/ timeAndDate, /*Number*/ latitude, /*Number*/ longitude)\n```\n\nReturns an object with the following properties:\n\n * `altitude`: moon altitude above the horizon in radians\n * `azimuth`: moon azimuth in radians\n * `distance`: distance to moon in kilometers\n * `parallacticAngle`: parallactic angle of the moon in radians\n\n\n### Moon illumination\n\n```javascript\nSunCalc.getMoonIllumination(/*Date*/ timeAndDate)\n```\n\nReturns an object with the following properties:\n\n * `fraction`: illuminated fraction of the moon; varies from `0.0` (new moon) to `1.0` (full moon)\n * `phase`: moon phase; varies from `0.0` to `1.0`, described below\n * `angle`: midpoint angle in radians of the illuminated limb of the moon reckoned eastward from the north point of the disk;\n the moon is waxing if the angle is negative, and waning if positive\n\nMoon phase value should be interpreted like this:\n\n| Phase | Name            |\n| -----:| --------------- |\n| 0     | New Moon        |\n|       | Waxing Crescent |\n| 0.25  | First Quarter   |\n|       | Waxing Gibbous  |\n| 0.5   | Full Moon       |\n|       | Waning Gibbous  |\n| 0.75  | Last Quarter    |\n|       | Waning Crescent |\n\nBy subtracting the `parallacticAngle` from the `angle` one can get the zenith angle of the moons bright limb (anticlockwise).\nThe zenith angle can be used do draw the moon shape from the observers perspective (e.g. moon lying on its back).\n\n### Moon rise and set times\n\n```js\nSunCalc.getMoonTimes(/*Date*/ date, /*Number*/ latitude, /*Number*/ longitude[, inUTC])\n```\n\nReturns an object with the following properties:\n\n * `rise`: moonrise time as `Date`\n * `set`: moonset time as `Date`\n * `alwaysUp`: `true` if the moon never rises/sets and is always _above_ the horizon during the day\n * `alwaysDown`: `true` if the moon is always _below_ the horizon\n\nBy default, it will search for moon rise and set during local user's day (frou 0 to 24 hours).\nIf `inUTC` is set to true, it will instead search the specified date from 0 to 24 UTC hours.\n\n## Changelog\n\n#### 1.8.0 &mdash; Dec 22, 2016\n\n- Improved precision of moonrise/moonset calculations.\n- Added `parallacticAngle` calculation to `getMoonPosition`.\n- Default to today's date in `getMoonIllumination`.\n- Fixed incompatibility when using Browserify/Webpack together with a global AMD loader.\n\n#### 1.7.0 &mdash; Nov 11, 2015\n\n- Added `inUTC` argument to `getMoonTimes`.\n\n#### 1.6.0 &mdash; Oct 27, 2014\n\n- Added `SunCalc.getMoonTimes` for calculating moon rise and set times.\n\n#### 1.5.1 &mdash; May 16, 2014\n\n- Exposed `SunCalc.times` property with defined daylight times.\n- Slightly improved `SunCalc.getTimes` performance.\n\n#### 1.4.0 &mdash; Apr 10, 2014\n\n- Added `phase` to `SunCalc.getMoonIllumination` results (moon phase).\n- Switched from mocha to tape for tests.\n\n#### 1.3.0 &mdash; Feb 21, 2014\n\n- Added `SunCalc.getMoonIllumination` (in place of `getMoonFraction`) that returns an object with `fraction` and `angle`\n(angle of illuminated limb of the moon).\n\n#### 1.2.0 &mdash; Mar 07, 2013\n\n- Added `SunCalc.getMoonFraction` function that returns illuminated fraction of the moon.\n\n#### 1.1.0 &mdash; Mar 06, 2013\n\n- Added `SunCalc.getMoonPosition` function.\n- Added nadir (darkest time of the day, middle of the night).\n- Added tests.\n\n#### 1.0.0 &mdash; Dec 07, 2011\n\n- Published to NPM.\n- Added `SunCalc.addTime` function.\n\n#### 0.0.0 &mdash; Aug 25, 2011\n\n- First commit.\n","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"time":{"modified":"2024-05-27T14:21:40.130Z","created":"2011-12-07T15:20:03.263Z","1.0.0":"2011-12-07T15:20:05.415Z","1.1.0":"2013-03-06T14:48:23.884Z","1.2.0":"2013-03-07T14:36:15.051Z","1.2.1":"2013-03-07T17:06:50.919Z","1.2.2":"2013-10-17T11:52:00.214Z","1.3.0":"2014-02-21T17:14:01.525Z","1.4.0":"2014-04-10T19:21:08.022Z","1.5.0":"2014-05-15T23:05:17.948Z","1.5.1":"2014-05-16T00:51:51.240Z","1.5.2":"2014-05-23T22:18:33.258Z","1.6.0":"2014-10-27T11:07:21.941Z","1.7.0":"2015-11-11T15:39:53.053Z","1.8.0":"2016-12-23T14:23:02.080Z","1.9.0":"2022-02-07T07:15:43.757Z"},"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"readmeFilename":"README.md","homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"users":{"ypid":true,"sklise":true,"japh":true,"amd940":true,"subso":true,"donvercety":true,"goliatone":true,"ceejbot":true,"nikhilexplore":true}}