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

origincalcu

v0.2.1

Published

Multi-system birth-moment calculator — Human Design, I Ching, Mayan Tzolk'in, Vedic, Western astrology and 12 more traditions resolved into a single cosmic coordinate. Hard data only, no interpretation.

Readme

origincalcu

origincalcu resolves a birth moment into structured data across 18 tradition outputs (from 17 systems/ directories — see docs/SYSTEMS.md for the accounting). It returns numbers, canonical tradition names, and provenance — never interpretation. If you want meaning, that is your layer to build.

That boundary is enforced by a test (tests/no-prose.test.js), not just a promise: any output field containing an English sentence fragment fails the suite. What you get back is numbers, IDs, canonical names, and short lore-derived labels (a gate name, a sign name, a rune name) — never a paragraph of interpretation.

Everything interpretive — readings, rendering, lenses, profiles — lives one layer up, in ORIGIN Codex. See docs/MIGRATING.md if you're coming from origin-calculator.

What's in a coordinate

One call, cosmicCoordinate(date, time, city, timezone), resolves a birth moment through the ephemeris once and reads it through every tradition. The result is a single object with 21 top-level keys: 3 metadata (schema, moment, bodies) and 18 tradition outputs — sourced from the 17 directories under systems/ (one tradition, Gene Keys, is derived by natalengine from the Human Design data rather than its own directory; one tradition, Sabian symbols, surfaces as a sub-key of every body in bodies rather than its own top-level key; one directory, I Ching, is disconnected from cosmicCoordinate() entirely and ships its content via a different route — see docs/SYSTEMS.md for the full accounting).

  • Human Design & Gene Keys — type, authority, profile, defined centers, channels, gates, incarnation cross, variables; life's work/evolution/radiance/purpose Gene Key spectrum
  • Western Astrology — planets, whole-sign houses, ascendant/midheaven, aspects, element/modality balance
  • Vedic (Jyotish) — sidereal grahas (Lahiri ayanamsa), nakshatra + pada, panchanga, Vimshottari dasha timeline
  • Mayan Tzolk'in / Cholq'ij — natal kin, nawal, natal cross (5 directions)
  • Chinese Zodiac & BaZi — year animal/element, Four Pillars (year/month/day/hour) with Ten Gods
  • I Ching spine — every planetary body carries a hexagram + Gene Key from the 64-gate wheel
  • Enneagram, Tarot, Runes, Ogham, Geomancy, Nakshatra, Kabbalah, Lenormand, Orphic Hymns, Lunar Phase — one shape each, documented in docs/SYSTEMS.md

Install

bun add origincalcu

Quick start

import { cosmicCoordinate } from 'origincalcu';

const coord = cosmicCoordinate('2001-06-15', '10:00', 'London', 0);

console.log(coord.astrology.bigThree);       // "♊ Gemini Sun, ♈ Aries Moon, ♌ Leo Rising"
console.log(coord.humanDesign.type);         // "Projector"
console.log(coord.tzolkin.tone, coord.tzolkin.nawal); // 9 "Aj"  (kin 113)
console.log(coord.vedic.moon.nakshatra.name); // "Uttara Bhadrapada"
console.log(coord.moonPhase.name);            // "Last Quarter Moon"
console.log(coord.moment.place.resolved, coord.moment.place.timezone); // true "Europe/London"

Every value above was produced by an actual call, not transcribed by hand.

Comparisons — transits, progressions, synastry

origincalcu/compare treats every temporal or relational reading as the same operation: two coordinates held against each other.

import { cosmicCoordinate } from 'origincalcu';
import { transits, synastry, lunarTiming } from 'origincalcu/compare';

const natal = cosmicCoordinate('2001-06-15', '10:00', 'London', 0);
const today = transits(natal);              // sky now vs. natal gates/tzolkin/lunar phase
const bond = synastry(natal, otherNatal);    // Human Design channel composite + shared gates

Exports

| Subpath | File | What it gives you | |---|---|---| | origincalcu | core/coordinate.js | cosmicCoordinate() — the full 21-key coordinate | | origincalcu/compare | core/compare.js | coordinateNow, transits, synastry, lunarTiming, progressedLunation, lunarReturn | | origincalcu/spine | core/spine.js | spineFromLongitude, spineEntry, gateFromLongitude, the SPINE table | | origincalcu/ephemeris | core/ephemeris.js | positions, positionsAt, birthMoment, toDecimalHour | | origincalcu/geocode | core/geocode.js | geocodeCity, resolveBirthPlace, utcOffsetHours | | origincalcu/person-name | core/person-name.js | nameFields() — flat field set for name/ID generation | | origincalcu/lore/* | lore/*.js | Raw canon tables (I Ching, Gene Keys, nawal, moon phase, numerology) |

Full signatures and sample output for every export are in docs/API.md.

Dependencies

Docs

License

MIT