{"_id":"suncalc","_rev":"45-492b58d55693d4dd4f007aec3ac7e68d","name":"suncalc","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"suncalc","version":"1.0.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.0.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","dist":{"shasum":"68d2cc4949e718d865c78338a99b095c7c26fb1b","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.0.0.tgz","integrity":"sha512-LJREgEvRcPDLkbOILXy/FEdin5IepXsu07qI4PNkQe10tluyEQGulkqM5cxcysLZs1bLX3PdP2Lb7aSWOyLNgg==","signatures":[{"sig":"MEUCIEhm4ZmubkzavWaKAmBIUgkGyLW9JtlWYC+IVR49TIJgAiEAkTV6bc3McYqjaDdunP3AiS6JDss56c66PvdWyjMbIbI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","engines":{"node":"*"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.1.0-alpha-6","description":"A tiny JavaScript library for calculating sun position and sunlight phases for the given location and time.","directories":{},"_nodeVersion":"v0.6.5","dependencies":{},"_defaultsLoaded":true,"devDependencies":{},"_engineSupported":true},"1.1.0":{"name":"suncalc","version":"1.1.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.1.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","dist":{"shasum":"6e277570ddaf681728e2cced6803c24cedb436ed","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.1.0.tgz","integrity":"sha512-wzERd9gB7jXdZmm58SsaHzPOhs/GDNP5swJqi4hFMYX62Tya63vfIMjjbS2dzvrTKbjeOQxVfxfRYHOa64zCyQ==","signatures":[{"sig":"MEQCIGAQkG5GAa0v7EX0Iz/+oeAWrzh8odTLBbjbCA5p3W/hAiAzZT5bZFi5DMUQFvx6TJl/qvrrEot9volCKWGYrntEog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.2.11","description":"A tiny JavaScript library for calculating sun/moon position and sunlight phases.","directories":{}},"1.2.0":{"name":"suncalc","version":"1.2.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.2.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","dist":{"shasum":"2511da9e393dcf2796eacb79b1ee72fa4ac90a48","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.2.0.tgz","integrity":"sha512-MmNJd4VF8DY6VEswe3bqozAyU11Umxb4y75/eQrC5PKXtnncGJfxH3JAtTofI/MDTN+wVmoMIOejL5Yh6zY95w==","signatures":[{"sig":"MEQCIE5jdA7cSmH16SbbScGXaN5LSRHdZg0+7ak7fEd6+z6ZAiAzU3Tddt7pjf999ZYrOiDG/iRXvKvMY3H5Ixrr6RX/tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.2.11","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{}},"1.2.1":{"name":"suncalc","version":"1.2.1","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.2.1","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","dist":{"shasum":"e7007fe5b97b49c22077bf1b5eb912ad1feac8dd","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.2.1.tgz","integrity":"sha512-ThcHy093Y1NT9bWaEaxg9b0lBekE7Onx1LuUEaLhDopEjZL9Wkv872U5/9p+uSDFSezgdNjaxoHBEikl0fhtTg==","signatures":[{"sig":"MEQCIFaDX2cAkCjhqnXBYjnxTxgYNX/gNUyoMCGCbz88OVqLAiA5Bm77KfxuBZgoU20gi1tkU9kg3fgLKzYykny4S4pjfQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.2.11","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{}},"1.2.2":{"name":"suncalc","version":"1.2.2","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.2.2","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"d5894e30119961e32142ca9aea5a30ea4a92b50a","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.2.2.tgz","integrity":"sha512-kTaO5+9TaqGjrEBUQom1QWhC1l5csc2TRT599JZAQMO/mv0uQ9/BsTJD73ePINdEzA/T63AxA04EMzfxC4m2qg==","signatures":[{"sig":"MEQCIFu29cpYUJ4m4BZGnwRdSR5d4PLzrpDCTPyz3OkfGT+4AiAXmu/FU9Q3VRpZYvoQXxCYhueiAtYe1pl1H9SNMx42aA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","scripts":{"test":"./node_modules/.bin/mocha"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.3.11","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"devDependencies":{"mocha":"~1.13.0"}},"1.3.0":{"name":"suncalc","version":"1.3.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.3.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"c1aa964da8e85d7a19e24bd23ee3a5b772d36e7f","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.3.0.tgz","integrity":"sha512-xsTkEarRL7/28EGSXq8uN/jTqxOVfaT3qyl5mSM93ZxEUFcAQs3ZHhxErdcL8JPObJME2+z1iUAQvSOGk6fjOg==","signatures":[{"sig":"MEQCIEBSdBlMRiaAy2mQAA+/VaZK3H3y0/NPZQQVaTr8cy2hAiBGOiLoZaF4We9cAmtagJDLYalOJqAAyhTtFMO2GHODYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","scripts":{"test":"mocha"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.3.24","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"devDependencies":{"mocha":"~1.13.0"}},"1.4.0":{"name":"suncalc","version":"1.4.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.4.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"76c41cd7cac195139f8479fb5ddd221fdeafcd36","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.4.0.tgz","integrity":"sha512-66n7RwaDZ1pv1TBKPyv4mG3fB9SjsHgbXT1L4S00VE16o003Ovx4VjmsMz9+zEpalen51Wt9ZFEBtT6XbCYI6Q==","signatures":[{"sig":"MEYCIQCYHY9PjcMbpaRzgqOtnkloUNIKM3iAAG9LtxwuRtNn2wIhAM7WiY/SioW5lw0S8q+vphRSamIxuk5Ldi2wxCui79xC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","scripts":{"cov":"istanbul cover test.js -x test.js","test":"jshint suncalc.js test.js && node test.js | faucet"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.4.3","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"devDependencies":{"tape":"^2.12.1","faucet":"0.0.1","jshint":"^2.4.4"}},"1.5.0":{"name":"suncalc","version":"1.5.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.5.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"cf0f84398cfeb13d81c82edb6a53765be8e825b5","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.5.0.tgz","integrity":"sha512-nSQBhn78p0WigKSweXjMwoQQEN4F3wNvRQHpINi7tPyTLehETLctK7GYPQ6+2BtoZhkfrJJLRoXb6GjIp7eIlA==","signatures":[{"sig":"MEQCICsL/vF5KbbdPrYiNI0aLytNBGpJNLZrFkPFBLTnw7GJAiAn5517iT2o2bG7jXMdY/E8pLuxJ0w++50OgH0z97g7mg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","scripts":{"cov":"istanbul cover test.js -x test.js","test":"jshint suncalc.js test.js && node test.js | faucet"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.4.3","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"devDependencies":{"tape":"^2.12.3","faucet":"0.0.1","jshint":"^2.5.0"}},"1.5.1":{"name":"suncalc","version":"1.5.1","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.5.1","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"9fe10bec68506bec723faed01e97bcfb3dee8ba0","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.5.1.tgz"},"main":"suncalc.js","_from":".","scripts":{"cov":"istanbul cover test.js -x test.js","test":"jshint suncalc.js test.js && node test.js | faucet"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.4.3","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"devDependencies":{"tape":"^2.12.3","faucet":"0.0.1","jshint":"^2.5.0"}},"1.5.2":{"name":"suncalc","version":"1.5.2","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.5.2","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"89cb7fc80cb9810a834c05ed8d874cf17649be92","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.5.2.tgz","integrity":"sha512-fj9ExW2u5d9Nypi33woj7nNYzYs0SCT3lE6Rc+XI3dbxji7CNjeeDsQ90C7tQyrInHW+35Swe9o0G0894Gpvyg==","signatures":[{"sig":"MEYCIQD3emW8ImYbEKawpTajpmbcgXBT9jAJQpyVI1uZWs2hLwIhALIMmL01GDrc7f/Amj8f1l4gDB2CbRms71T+MClpKydR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_shasum":"89cb7fc80cb9810a834c05ed8d874cf17649be92","scripts":{"cov":"istanbul cover test.js -x test.js","test":"jshint suncalc.js test.js && node test.js | faucet"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"1.4.10","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"devDependencies":{"tape":"^2.12.3","faucet":"0.0.1","jshint":"^2.5.0"}},"1.6.0":{"name":"suncalc","version":"1.6.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.6.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"b197ea84a0998689655954836c607076a3635f15","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.6.0.tgz","integrity":"sha512-kOOY/0NiFzIoj1+NwrwxJrAYZo4ZH1Nlc9plJHRzP1vb7TRVn8RLbx3VZvMTez4h8OuX2dEpMWG+lY3fbtuZww==","signatures":[{"sig":"MEYCIQCgqNyb+PQCO3g4wY01dxHu7OHrnDpLOE6/h5E1IoensAIhAJaO4HEbzsx4VpEh+pYpv6sdXOm8BloAwLI4VXsklqJH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_shasum":"b197ea84a0998689655954836c607076a3635f15","gitHead":"8d658a116ca115846ca474f6ee96786379ad5fc1","scripts":{"cov":"istanbul cover test.js -x test.js","test":"jshint suncalc.js test.js && node test.js | faucet"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"2.0.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"devDependencies":{"tape":"^2.12.3","faucet":"0.0.1","jshint":"^2.5.0"}},"1.7.0":{"name":"suncalc","version":"1.7.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.7.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"b1a684ae9b87be8ce46573da2b08e56298e946bc","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.7.0.tgz","integrity":"sha512-lDN7nBPMJXiUhwxoDGYze8wFtngCYvP3F9ngoKNPTEfZ2QkIylZXwzyhDkG2aKQ11CFioGEAZX5Xpk82ekyS1g==","signatures":[{"sig":"MEYCIQDxLa3I/2s7jjBwYZUFYbyYUD1eW9qkGt3oFzIXkE4PhAIhAOoGnabIWXMXOS1f2eMTAO3/463MECpwF4AX3Aem5faz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_shasum":"b1a684ae9b87be8ce46573da2b08e56298e946bc","gitHead":"43916647ee436832b5853fac38e41d8420a3f26f","scripts":{"cov":"tap test.js --cov","test":"tap test.js","pretest":"eslint suncalc.js test.js"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"2.14.9","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"_nodeVersion":"0.12.7","eslintConfig":{"env":{"amd":true},"rules":{"indent":0,"strict":0,"brace-style":0,"array-bracket-spacing":0},"extends":"mourner"},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"devDependencies":{"tap":"^2.2.0","eslint":"^1.9.0","eslint-config-mourner":"^1.0.1"}},"1.8.0":{"name":"suncalc","version":"1.8.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.8.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"1d9898109563078750f4994a959e654d876acbf5","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.8.0.tgz","integrity":"sha512-fyyqA8Az3HnYkNtiiniU0g4xZZXnZYWjuRSS0RegfbmYTbe7idmv4L2Lho/Ez+/HsrmNjuop/bL/FutjtrTT3w==","signatures":[{"sig":"MEYCIQChV2qSWNbOUZrzonJGzcCOcsqmTMrv9101SYrvPjlTWAIhAOR1w3WTo6QCqU4kij8+3KFZM82xkkZri8eBXl/hFDcH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"suncalc.js","_from":".","_shasum":"1d9898109563078750f4994a959e654d876acbf5","gitHead":"b08d1f6f8e56a3c0d85469d6cf0ff8675cba40a5","scripts":{"cov":"tap test.js --cov","test":"tap test.js","pretest":"eslint suncalc.js test.js"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"3.10.10","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"_nodeVersion":"7.3.0","eslintConfig":{"env":{"amd":true},"rules":{"indent":0,"strict":0,"brace-style":0,"array-bracket-spacing":0},"extends":"mourner"},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"devDependencies":{"tap":"^8.0.1","eslint":"^3.12.2","eslint-config-mourner":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/suncalc-1.8.0.tgz_1482502981360_0.05787906516343355","host":"packages-18-east.internal.npmjs.com"}},"1.9.0":{"name":"suncalc","version":"1.9.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Vladimir Agafonkin"},"_id":"suncalc@1.9.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"26212353fae61edb287c2d558fc4932ecf0e1532","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-1.9.0.tgz","fileCount":4,"integrity":"sha512-vMJ8Byp1uIPoj+wb9c1AdK4jpkSKVAywgHX0lqY7zt6+EWRRC3Z+0Ucfjy/0yxTVO1hwwchZe4uoFNqrIC24+A==","signatures":[{"sig":"MEQCIGy8Z8HoQniRQ65AyVITEKneMOCWJmRX+oeAqnom/BK4AiBX7LrR/7QCWwS4fLxlAyJBxapq7a9A27EYJ02oNBSmOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"suncalc.js","gitHead":"6bc2757074c1e5eaa2389aa2ab36806f04c6d2a0","scripts":{"test":"node test.js","pretest":"eslint suncalc.js test.js","prepublishOnly":"npm test"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"8.4.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"_nodeVersion":"14.19.0","eslintConfig":{"env":{"amd":true},"rules":{"indent":0,"strict":0,"brace-style":0,"array-bracket-spacing":0},"extends":"mourner"},"jshintConfig":{"unused":true,"quotmark":"single","trailing":true},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.5.0","eslint":"^8.8.0","eslint-config-mourner":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/suncalc_1.9.0_1644218143581_0.27699975041219527","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"suncalc","version":"2.0.0","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"author":{"name":"Volodymyr Agafonkin"},"_id":"suncalc@2.0.0","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"homepage":"https://github.com/mourner/suncalc","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"dist":{"shasum":"81b85946ba476f46354399fe9b49ddc9112c3954","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-2.0.0.tgz","fileCount":6,"integrity":"sha512-RcO28GOMXNnB+sr+c7/+zv5UPMa9wxIsUVGE3HddjQykqCVEC2rc4t4IjBB7qaa7K7dx5Cxp8UZwexyXrX8JkA==","signatures":[{"sig":"MEYCIQCE2GVqgOhbSyptSgW1G4+a36EDAfC0l0GBjNVW3472DgIhANn9Xkg1zHsAd5uQAaErQrJPjy79KrVsacjzsFmn8bbQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49761},"main":"./suncalc.cjs","type":"module","types":"./index.d.ts","unpkg":"./suncalc.cjs","module":"./index.js","exports":{"types":"./index.d.ts","import":"./index.js","require":"./suncalc.cjs"},"gitHead":"639e08d9794a077bded9c268f128b18a54026230","scripts":{"test":"node --test 'test/*.test.js'","build":"rolldown -c rolldown.config.js","pretest":"eslint .","prepublishOnly":"npm run build"},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"jsdelivr":"./suncalc.cjs","repository":{"url":"git://github.com/mourner/suncalc.git","type":"git"},"_npmVersion":"11.16.0","description":"A tiny JavaScript library for calculating sun/moon positions and phases.","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.5.0","rolldown":"^1.1.1","eslint-config-mourner":"^5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/suncalc_2.0.0_1781777116526_0.1780139818022759","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"suncalc","version":"2.0.1","type":"module","exports":{"types":"./index.d.ts","import":"./index.js","require":"./suncalc.cjs"},"types":"./index.d.ts","sideEffects":false,"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":"Volodymyr Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"main":"./suncalc.cjs","module":"./index.js","unpkg":"./suncalc.cjs","jsdelivr":"./suncalc.cjs","devDependencies":{"eslint":"^10.5.0","eslint-config-mourner":"^5.0.1","rolldown":"^1.1.1"},"scripts":{"build":"rolldown -c rolldown.config.js","pretest":"eslint .","test":"node --test 'test/*.test.js'","prepublishOnly":"npm run build"},"gitHead":"bbc91f689ede3ff7173011947d435b3fb6c0485d","_id":"suncalc@2.0.1","bugs":{"url":"https://github.com/mourner/suncalc/issues"},"_nodeVersion":"24.16.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-wjujU+HpsP1TUvN3/9dFkVQQCsMZbk7PkdZsASRJR4jVPHCm9Qy0FVkFTqXfs70Ag2yheN7ZUavzCyOjhJDGxQ==","shasum":"3dae1a3f18cbbc487bf693aeb09a2e61a3170a4e","tarball":"https://registry.npmjs.org/suncalc/-/suncalc-2.0.1.tgz","fileCount":6,"unpackedSize":51559,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHr3Xhgx0WNsyEccMSwPOGry+/PPInOZpyg9D7wu37j6AiEAl1U658PE4FS5xkGsbmpgzxuls7J2OxU76JoBfaksHe8="}]},"_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"directories":{},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/suncalc_2.0.1_1783767371553_0.6777921542654615"},"_hasShrinkwrap":false}},"time":{"created":"2011-12-07T15:20:03.263Z","modified":"2026-07-11T10:56:11.824Z","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","2.0.0":"2026-06-18T10:05:16.667Z","2.0.1":"2026-07-11T10:56:11.716Z"},"bugs":{"url":"https://github.com/mourner/suncalc/issues"},"author":{"name":"Volodymyr Agafonkin"},"homepage":"https://github.com/mourner/suncalc","keywords":["sun","astronomy","math","calculation","sunrise","sunset","twilight","moon","illumination"],"repository":{"type":"git","url":"git://github.com/mourner/suncalc.git"},"description":"A tiny JavaScript library for calculating sun/moon positions and phases.","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"readme":"SunCalc\n=======\n\nSunCalc is a tiny, dependency-free JavaScript library for calculating **sun position**,\n**sunlight phases** (sunrise, sunset, dusk, etc.), **moon position**, **moonrise** and **moonset**\ntimes, and **lunar phase** for any location and time.\n\nIt matches the accuracy and conventions of [timeanddate.com](https://www.timeanddate.com/)\nand the [U.S. Naval Observatory](https://aa.usno.navy.mil/).\nCalculations are based on the formulas from Jean Meeus' *Astronomical Algorithms*.\nYou can read about different twilight phases calculated by SunCalc\nin the [Twilight article on Wikipedia](http://en.wikipedia.org/wiki/Twilight).\n\n[![Build Status](https://github.com/mourner/suncalc/actions/workflows/test.yml/badge.svg)](https://github.com/mourner/suncalc/actions) [![Simply Awesome](https://img.shields.io/badge/simply-awesome-brightgreen.svg)](https://github.com/mourner/projects)\n\n## Example\n\n```javascript\nimport * as SunCalc from 'suncalc';\n\nconst times = SunCalc.getTimes(new Date(), 51.5, -0.1); // get today's sunlight times for London\nconsole.log(`Sunrise time: ${times.sunrise.toLocaleString()}`);\n\nconst sunrisePos = SunCalc.getPosition(times.sunrise, 51.5, -0.1); // get Sun position at today's sunrise\nconsole.log(`Sunrise direction: ${sunrisePos.azimuth} degrees`);\n```\n\n## Install\n\nInstall with npm: `npm install suncalc`, then import it as a module:\n\n```js\nimport * as SunCalc from 'suncalc';\n```\n\nOr use it directly in the browser via [jsDelivr](https://www.jsdelivr.com/esm):\n\n```html\n<script type=\"module\">\n    import * as SunCalc from 'https://cdn.jsdelivr.net/npm/suncalc/+esm';\n</script>\n```\n\nAlternatively, there's a browser bundle that exposes a `SunCalc` global variable:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/suncalc\"></script>\n```\n\n## Reference\n\n### Sun position\n\n```javascript\nSunCalc.getPosition(date, lat, lng)\n```\n\nReturns an object with the following properties:\n\n * `altitude`: apparent (refraction-corrected) sun altitude above the horizon in\n   degrees, e.g. `0` at the horizon and `90` at the zenith (straight overhead)\n * `azimuth`: sun azimuth in degrees, clockwise from north\n   (`0` = N, `90` = E, `180` = S, `270` = W)\n\n### Sunlight times\n\n```javascript\nSunCalc.getTimes(date, lat, lng, height = 0)\n```\n\nReturns sunlight times for the solar day containing `date`, at the given latitude,\nlongitude and (optional) observer `height` above the horizon in meters.\n\nThe result is an object whose properties are `Date` objects (or `null` when the\nevent doesn't occur that day). Listed in the order they occur over the solar day,\nwith example times for Kyiv (50.45°N, 30.52°E) on 24 August 2026, shown in local\ntime (EEST, UTC+3):\n\n| Property        | Description                                                              | Kyiv example |\n| --------------- | ------------------------------------------------------------------------ | -----------: |\n| `nadir`         | nadir (darkest moment of the night, sun is in the lowest position)       |       01:00  |\n| `nightEnd`      | night ends (morning astronomical twilight starts)                        |       03:51  |\n| `nauticalDawn`  | nautical dawn (morning nautical twilight starts)                         |       04:41  |\n| `dawn`          | dawn (morning nautical twilight ends, morning civil twilight starts)     |       05:24  |\n| `sunrise`       | sunrise (top edge of the sun appears on the horizon)                     |       05:59  |\n| `sunriseEnd`    | sunrise ends (bottom edge of the sun touches the horizon)                |       06:03  |\n| `goldenHourEnd` | morning golden hour (soft light, best time for photography) ends         |       06:44  |\n| `solarNoon`     | solar noon (sun is in the highest position)                              |       13:00  |\n| `goldenHour`    | evening golden hour starts                                               |       19:15  |\n| `sunsetStart`   | sunset starts (bottom edge of the sun touches the horizon)               |       19:56  |\n| `sunset`        | sunset (sun disappears below the horizon, evening civil twilight starts) |       19:59  |\n| `dusk`          | dusk (evening nautical twilight starts)                                  |       20:34  |\n| `nauticalDusk`  | nautical dusk (evening astronomical twilight starts)                     |       21:18  |\n| `night`         | night starts (dark enough for astronomical observations)                 |       22:06  |\n\n`solarNoon` and `nadir` are always present. At high latitudes, when the sun stays\nabove or below the rise/set altitude for the whole day, the rise/set-related times\nare `null` and one of these flags is set:\n\n * `alwaysUp`: `true` when the sun never sets that day (polar day)\n * `alwaysDown`: `true` when the sun never rises that day (polar night)\n\nThe returned `Date`s are absolute UTC instants with no time zone of their own (as\neverywhere in SunCalc). To show one in a specific zone, format it with an explicit\n`timeZone` — daylight saving time is then applied for you:\n\n```javascript\ntimes.sunset.toLocaleString('en-GB', {timeZone: 'Europe/Kyiv'}); // → \"24/08/2026, 19:59:00\"\n```\n\nWith no `timeZone`, `toLocaleString` uses the machine's local zone, so the same code\nprints different clock times on different machines.\n\n```javascript\nSunCalc.addTime(angleInDegrees, morningName, eveningName)\n```\n\nAdds a custom time when the sun reaches the given altitude angle (in degrees) to\nthe results returned by `SunCalc.getTimes`. The `morningName` is used for the\nascending (morning) crossing and `eveningName` for the descending (evening) one.\n\n`SunCalc.times` contains all currently defined times as\n`[angleInDegrees, morningName, eveningName]` rows.\n\nFor example, to add the [blue hour](https://en.wikipedia.org/wiki/Blue_hour)\n(roughly −4° to −8°) with your own preferred angles:\n\n```javascript\nSunCalc.addTime(-4, 'morningBlueHourEnd', 'blueHour');\nSunCalc.addTime(-8, 'morningBlueHour', 'blueHourEnd');\n```\n\n### Moon position\n\n```javascript\nSunCalc.getMoonPosition(date, lat, lng)\n```\n\nReturns an object with the following properties:\n\n * `altitude`: apparent moon altitude above the horizon in degrees\n * `azimuth`: moon azimuth in degrees, clockwise from north\n * `distance`: distance to the moon in kilometers\n * `parallacticAngle`: parallactic angle of the moon in degrees\n\n### Moon illumination\n\n```javascript\nSunCalc.getMoonIllumination(date)\n```\n\nReturns an object with the following properties:\n\n * `fraction`: illuminated fraction of the moon; varies from `0.0` (new moon) to\n   `1.0` (full moon). It reaches the exact extremes only at perfect syzygy\n   (eclipses), so a \"full\" moon typically peaks a hair under `1.0`\n * `phase`: moon phase; varies from `0.0` to `1.0`, described below\n * `angle`: position angle of the bright limb in degrees, reckoned eastward from\n   the north point of the disk\n * `waxing`: `true` while the moon is waxing (new → full), `false` while waning\n   (full → new)\n\nThe `phase` value maps to the named phases 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\nThe four named values (0, 0.25, 0.5, 0.75) are exact instants; any other value falls in\none of the crescent/gibbous ranges between them. So `phase: 0.4945…` is **not** \"Full\nMoon\" — it's late Waxing Gibbous, just shy of full. To map a value to one of the eight\nnames, snap it to the nearest one-eighth:\n\n```javascript\nconst names = ['New Moon', 'Waxing Crescent', 'First Quarter', 'Waxing Gibbous',\n               'Full Moon', 'Waning Gibbous', 'Last Quarter', 'Waning Crescent'];\nconst {phase} = SunCalc.getMoonIllumination(new Date());\nconst name = names[Math.round(phase * 8) % 8];\n```\n\nUse `phase` for the name and `fraction` for how lit the disk is — and since `fraction`\nonly reaches an exact `0` or `1` at an eclipse, don't test it for equality with those.\n\nBy subtracting `getMoonPosition().parallacticAngle` from `angle` (both in degrees)\nyou get the zenith angle of the moon's bright limb (anticlockwise). The zenith\nangle can be used to draw the moon's shape from the observer's perspective\n(e.g. moon lying on its back).\n\n### Moon rise and set times\n\n```js\nSunCalc.getMoonTimes(date, lat, lng)\n```\n\nReturns an object with the following properties:\n\n * `rise`: moonrise time as a `Date`\n * `set`: moonset time as a `Date`\n * `alwaysUp`: `true` if the moon is always _above_ the horizon during the day\n * `alwaysDown`: `true` if the moon is always _below_ the horizon\n\nUnlike the sun, the moon can rise and set zero, one, or two times within a single\nday, so this function scans a fixed 24-hour window: the **UTC calendar day** of the\ngiven date (consistent with the rest of the API, which treats dates as UTC\ninstants). If you want the window to follow an observer's local civil day, pass a\n`date` set to their local midnight.\n\n## Accuracy\n\nEvery function is built on higher-order astronomical models from Jean Meeus'\n*Astronomical Algorithms* and validated against [JPL Horizons](https://ssd.jpl.nasa.gov/horizons/)\nand the [U.S. Naval Observatory](https://aa.usno.navy.mil/). Typical errors:\n\n| | Position | Rise/set times | Distance |\n| --- | --- | --- | --- |\n| Sun | ~0.08° | ~15 s | — |\n| Moon | ~0.09° | ~15 s | ~20 km |\n\nRise and set times are accurate to ~15 seconds — at the floor of what the USNO's\nwhole-minute reference data can even measure.\n\n## Changelog\n\nSee the [Releases page](https://github.com/mourner/suncalc/releases) for the full\nchangelog. Note that **v2.0** is a precision-focused rewrite with breaking changes\nto units and conventions — see its release notes before upgrading.\n","readmeFilename":"README.md","users":{"japh":true,"ypid":true,"subso":true,"amd940":true,"sklise":true,"ceejbot":true,"goliatone":true,"donvercety":true,"nikhilexplore":true}}