The `@node-jhora/prediction` package handles time-based calculations, including dasha sequences, transit scanners, and Jaimini predictive tools.
npm install @node-jhora/prediction@node-jhora/prediction@node-jhora/prediction package handles time-based calculations, including dasha sequences, transit scanners, and Jaimini predictive tools.
typescript
import { generateVimshottari } from '@node-jhora/prediction';
const dashas = generateVimshottari(birthDate, moonLon, 120);
`
$3
An 8-year recurring cycle system.
`typescript
import { YoginiDasha } from '@node-jhora/prediction';
const periods = YoginiDasha.calculate(moonLon, birthDate, 80);
`
$3
A Rashi-based dasha (Varga Dasha) used for general life events.
- Directional Logic: Odd/Even sign logic for forward/reverse sequences.
- Exceptions: Handles Saturn and Ketu exceptions in the Lagna.
---
🛰️ Transit Engine
Scans for planetary movement over time, detecting house ingresses and aspects.
`typescript
import { TransitEngine } from '@node-jhora/prediction';
const engine = new TransitEngine();
const events = await engine.findTransits(
0, // Sun
startDate,
endDate
);
// Aspect detection using Newton-Raphson for high precision
const conjunct = await engine.findExactAspect(0, 4, 0 / conjunction /, startDate);
`
---
💎 Jaimini System
Core Jaimini astrological components.
$3
Calculates the 7-karaka system based on planetary degrees within a rashi.
- AK (Atmakaraka): Highest degree.
- AmK (Amatyakaraka): Second highest.
- ... and so on.
$3
Calculates the "Reflected Points" for houses.
- Handles the exception rules where if the lord is in the same house or 7th house, the Arudha jumps another 10/4 signs.
$3
Sequence based on Jaimini's sign-based logic.
`typescript
import { JaiminiDashas } from '@node-jhora/prediction';
const chara = JaiminiDashas.calculateCharaDasha(lagnaSign, planets);
``