npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@node-jhora/prediction

v1.5.0

Published

The `@node-jhora/prediction` package handles time-based calculations, including dasha sequences, transit scanners, and Jaimini predictive tools.

Readme

Package: @node-jhora/prediction

The @node-jhora/prediction package handles time-based calculations, including dasha sequences, transit scanners, and Jaimini predictive tools.

⏳ Dasha Systems

Supports multiple predictive time-cycle systems.

1. Vimshottari Dasha

The most widely used system based on 120-year cycles.

  • Precision: Calculates down to 5 levels (Maha, Antar, Pratyantar, Sookshma, Prana).
  • Flexibility: Handles any duration and provides nested structure.
import { generateVimshottari } from '@node-jhora/prediction';

const dashas = generateVimshottari(birthDate, moonLon, 120);

2. Yogini Dasha

An 8-year recurring cycle system.

import { YoginiDasha } from '@node-jhora/prediction';
const periods = YoginiDasha.calculate(moonLon, birthDate, 80);

3. Narayana Dasha

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.

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.

1. Chara Karakas

Calculates the 7-karaka system based on planetary degrees within a rashi.

  • AK (Atmakaraka): Highest degree.
  • AmK (Amatyakaraka): Second highest.
  • ... and so on.

2. Arudha Padas

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. Chara Dasha

Sequence based on Jaimini's sign-based logic.

import { JaiminiDashas } from '@node-jhora/prediction';
const chara = JaiminiDashas.calculateCharaDasha(lagnaSign, planets);

🏷️ Keywords

Vimshottari Dasha, Yogini Dasha, Narayana Dasha, Transits, Jaimini, Chara Dasha, Predictive Astrology, Timing Events, Horoscope, Gochara, Planetary Aspects, Mahadasha, Antardasha