{"_id":"@arevs/astronomy","_rev":"3-35e207c05bbe4e18d916dee83ef7890b","name":"@arevs/astronomy","dist-tags":{"latest":"0.1.21"},"versions":{"0.1.19":{"name":"@arevs/astronomy","version":"0.1.19","_id":"@arevs/astronomy@0.1.19","maintainers":[{"name":"silvandiepen","email":"me@sil.mt"}],"dist":{"shasum":"80b8b707d2df7c93f238b1454836274c4aa0bf2c","tarball":"https://registry.npmjs.org/@arevs/astronomy/-/astronomy-0.1.19.tgz","fileCount":6,"integrity":"sha512-oTWqOan/M2C71cQT3EwtztgwkW6RiLulBn2Q9Z4U6hdv7Ok7BrKCAymESjslzWkX8XAfJtfiFAu2V3F314mMBQ==","signatures":[{"sig":"MEUCIQCoN1G+d7krL1JOuB1vMU+n4eqwedZ5Q4e/rs6x5lBKWwIgbMge4xs0pLDJ950I3nOPMT8OzmZARmwp9cieO0WlH58=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23042},"main":"./dist/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d171d7c6b3ac213b870535ee92ad2e26cf140e52","scripts":{"build":"vite build --config vite.config.ts"},"_npmUser":{"name":"silvandiepen","email":"me@sil.mt"},"_npmVersion":"10.2.5","description":"Astronomy helpers for the @arevs data packages","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/astronomy_0.1.19_1774362879620_0.5236091076684575","host":"s3://npm-registry-packages-npm-production"}},"0.1.20":{"name":"@arevs/astronomy","version":"0.1.20","_id":"@arevs/astronomy@0.1.20","maintainers":[{"name":"silvandiepen","email":"me@sil.mt"}],"homepage":"https://github.com/silvandiepen/arev#readme","bugs":{"url":"https://github.com/silvandiepen/arev/issues"},"dist":{"shasum":"020da7bf460a9c983a1fcbdba42b1b1ac0c7be85","tarball":"https://registry.npmjs.org/@arevs/astronomy/-/astronomy-0.1.20.tgz","fileCount":6,"integrity":"sha512-hNW4Nr7b6rsYadu5Hx+N74QZsPKMOGLH31S9HXplQ1XQwbcjqbpPIRxt8MxWwwfMt87p9vWacUaUlIj3XhlpBw==","signatures":[{"sig":"MEYCIQDviaLOwwwUMPf1nO9/CRMsaiPvB9SUOxDfAN+IRqCZqgIhAMPpyO3szxQaxTHiaPKxs4RBnVBP8OZJNA5Qt8zeoWtL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arevs%2fastronomy@0.1.20","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23173},"main":"./dist/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"23b08e92e0854d24dfa07750a8913fbaa566c00a","scripts":{"build":"vite build --config vite.config.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8a7b8b50-b9c9-4e87-91d1-f6f4f20c87fd"}},"repository":{"url":"git+https://github.com/silvandiepen/arev.git","type":"git","directory":"packages/astronomy"},"_npmVersion":"11.11.0","description":"Astronomy helpers for the @arevs data packages","directories":{},"sideEffects":false,"_nodeVersion":"25.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/astronomy_0.1.20_1774364758002_0.9252395803579432","host":"s3://npm-registry-packages-npm-production"}},"0.1.21":{"name":"@arevs/astronomy","version":"0.1.21","description":"Astronomy helpers for the @arevs data packages","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/types/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/types/index.d.ts"}},"sideEffects":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/silvandiepen/arev.git","directory":"packages/astronomy"},"scripts":{"build":"vite build --config vite.config.ts"},"gitHead":"73e985de4831b2b8aeb53cc2739a8e05129ada9a","_id":"@arevs/astronomy@0.1.21","bugs":{"url":"https://github.com/silvandiepen/arev/issues"},"homepage":"https://github.com/silvandiepen/arev#readme","_nodeVersion":"25.8.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-EUx8aogEGEimKdgRAKMuYpcB4D07WjfrzTDOQ2XrnxqrOKCbj2viWPosIUPIgb4KnaF4+NTD6aDS/NqmbE/wvQ==","shasum":"e773c5d20e8e5b0424ffac67ca869c15d39ea28a","tarball":"https://registry.npmjs.org/@arevs/astronomy/-/astronomy-0.1.21.tgz","fileCount":7,"unpackedSize":23828,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arevs%2fastronomy@0.1.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBPYk4APM2TkRk+i7Wtgi+7q7FQtM7yIMOQysUSzEsoWAiEAw6F4wPC/YuHn93VLfl9gWoF3KuuuRQ40C8CofcPxjTk="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8a7b8b50-b9c9-4e87-91d1-f6f4f20c87fd"}},"directories":{},"maintainers":[{"name":"silvandiepen","email":"me@sil.mt"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/astronomy_0.1.21_1774365435858_0.06524931661096067"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-24T14:34:39.526Z","modified":"2026-03-24T15:17:18.719Z","0.1.19":"2026-03-24T14:34:39.776Z","0.1.20":"2026-03-24T15:05:58.165Z","0.1.21":"2026-03-24T15:17:15.994Z"},"bugs":{"url":"https://github.com/silvandiepen/arev/issues"},"homepage":"https://github.com/silvandiepen/arev#readme","repository":{"type":"git","url":"git+https://github.com/silvandiepen/arev.git","directory":"packages/astronomy"},"description":"Astronomy helpers for the @arevs data packages","maintainers":[{"name":"silvandiepen","email":"me@sil.mt"}],"readme":"# @arevs/astronomy\n\nLightweight astronomy helpers for moon phases and hemisphere-aware seasons.\n\n## Install\n\n```bash\nnpm install @arevs/astronomy\n```\n\n## What it includes\n\n- `moonPhases`\n- `getMoonPhase()`\n- `getMoonPhaseFraction()`\n- `getMoonIllumination()`\n- `getSeason()`\n\n## Usage\n\n```ts\nimport {\n  moonPhases,\n  getMoonPhase,\n  getMoonIllumination,\n  getSeason,\n} from \"@arevs/astronomy\";\n\nconst phase = getMoonPhase(new Date());\nconst illumination = getMoonIllumination(new Date());\nconst season = getSeason(new Date(\"2026-06-21\"), \"north\");\n```\n\nDocs: <https://arevdata.com/astronomy/sun-moon/>  \nRepository: <https://github.com/silvandiepen/arev>\n","readmeFilename":"README.md"}