mirror of
https://github.com/acamarata/moon-sighting.git
synced 2026-06-30 19:04:24 +00:00
High-accuracy lunar crescent visibility using JPL DE442S ephemerides. Implements Yallop q-test and Odeh V-parameter with all five crescent geometry quantities (ARCL, ARCV, DAZ, W, lag). Full time scale chain (UTC → TDB), IERS Q·R·W frame transforms, WGS84 observer model, Bennett refraction, and kernel-free moon phase via Meeus approximation.
74 lines
1.6 KiB
JSON
74 lines
1.6 KiB
JSON
{
|
|
"name": "moon-calc",
|
|
"version": "1.0.0",
|
|
"description": "High-accuracy lunar crescent visibility and moon sighting calculations using JPL DE442S ephemerides. Implements Yallop and Odeh criteria for Islamic crescent sighting workflows.",
|
|
"author": "Aric Camarata",
|
|
"license": "MIT",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"bin": {
|
|
"moon-calc": "./dist/cli/index.cjs"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"typecheck": "tsc --noEmit",
|
|
"pretest": "tsup",
|
|
"test": "node test.mjs && node test-cjs.cjs",
|
|
"prepublishOnly": "tsup",
|
|
"cli": "node dist/cli/index.cjs"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "latest",
|
|
"tsup": "latest",
|
|
"typescript": "latest"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/acamarata/moon-calc.git"
|
|
},
|
|
"homepage": "https://github.com/acamarata/moon-calc#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/acamarata/moon-calc/issues"
|
|
},
|
|
"keywords": [
|
|
"moon",
|
|
"lunar",
|
|
"crescent",
|
|
"moon-sighting",
|
|
"hilal",
|
|
"yallop",
|
|
"odeh",
|
|
"islamic",
|
|
"ephemeris",
|
|
"jpl",
|
|
"de442s",
|
|
"astronomy",
|
|
"moon-phase",
|
|
"visibility",
|
|
"sighting",
|
|
"ramadan",
|
|
"prayer-times"
|
|
]
|
|
}
|