@fusionstrings/panchangam@0.1.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Ayanamsha modes
Calculate the complete Panchangam for a given date and location.
Calculate Gulika Kaal for a given day
Calculate Karana for a given Julian Day There are 60 Karanas per lunar month (2 per Tithi)
Calculate Raahu, Yamaganda, and Gulika for a given day
Calculate Nakshatra for a given Julian Day Each Nakshatra spans 13°20' (13.333... degrees)
Calculate Rahu Kaal for a given day sunrise_ms and sunset_ms are Unix timestamps in milliseconds weekday is 0=Sunday, 6=Saturday
Calculate sunrise time for a given date and location Returns Unix timestamp in milliseconds
Calculate sunset time for a given date and location Returns Unix timestamp in milliseconds
Calculate Tithi for a given Julian Day Returns TithiInfo with index, name, paksha, and completion percentage
Calculate Vara (weekday) for a given Julian Day Note: This returns the astronomical weekday. For Vedic Vara, compare with sunrise time.
Calculate Yamaganda for a given day
Calculate Yoga for a given Julian Day Formula: Yoga = floor((Moon_long + Sun_long) / 13.333) + 1
Check for Planetary War (Graha Yuddha) Occurs when two Tara Grahas (Mars, Mercury, Jupiter, Venus, Saturn) are within 1 degree of each other.
Get Ayanamsha value for a given mode and Julian Day
Get the underlying Swiss Ephemeris engine version
Get the library version (panchangam)
Paksha (lunar fortnight)