kaabalah 6.12.1 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -2
- package/dist/chunk-5PZ7EB2E.js +3659 -0
- package/dist/chunk-5PZ7EB2E.js.map +1 -0
- package/dist/{chunk-4XS3UZEI.js → chunk-MWHMP3LI.js} +2 -2
- package/dist/{chunk-KYYS4GHH.mjs → chunk-V5KXYFHZ.mjs} +2 -2
- package/dist/chunk-ZE2KPCHT.mjs +3625 -0
- package/dist/chunk-ZE2KPCHT.mjs.map +1 -0
- package/dist/cli.js +3949 -218
- package/dist/cli.js.map +1 -1
- package/dist/{correspondence-model-JSyDWwmn.d.mts → constants-C0XjrYIG.d.mts} +1 -297
- package/dist/{correspondence-model-JSyDWwmn.d.ts → constants-C0XjrYIG.d.ts} +1 -297
- package/dist/core/index.d.mts +5 -3
- package/dist/core/index.d.ts +5 -3
- package/dist/correspondence-model-5JQwAX16.d.ts +299 -0
- package/dist/correspondence-model-QJK8AilM.d.mts +299 -0
- package/dist/{data-CdjlIcAo.d.mts → data-2Hp_b3BD.d.mts} +1 -1
- package/dist/{data-_b06lgY6.d.ts → data-BXhkIF1M.d.ts} +1 -1
- package/dist/gematria/index.d.mts +2 -1
- package/dist/gematria/index.d.ts +2 -1
- package/dist/iching/index.d.mts +912 -0
- package/dist/iching/index.d.ts +912 -0
- package/dist/iching/index.js +143 -0
- package/dist/iching/index.js.map +1 -0
- package/dist/iching/index.mjs +6 -0
- package/dist/iching/index.mjs.map +1 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +242 -109
- package/dist/index.mjs +3 -2
- package/dist/semantic/index.d.mts +3 -2
- package/dist/semantic/index.d.ts +3 -2
- package/dist/semantic/index.js +21 -21
- package/dist/semantic/index.mjs +2 -2
- package/dist/swisseph.node.js +0 -0
- package/dist/swisseph.web.js +0 -0
- package/dist/tarot/index.d.mts +4 -3
- package/dist/tarot/index.d.ts +4 -3
- package/dist/{topology-CH3hsIqO.d.mts → topology-C8PdKGeK.d.ts} +2 -1
- package/dist/{topology-DXYTpDvj.d.ts → topology-sytcjXkx.d.mts} +2 -1
- package/dist/visual/index.d.mts +3 -2
- package/dist/visual/index.d.ts +3 -2
- package/dist/wasm/build/swisseph.node.js +0 -0
- package/dist/wasm/build/swisseph.web.js +0 -0
- package/ephe/seas_18.se1 +0 -0
- package/ephe/semo_18.se1 +0 -0
- package/ephe/sepl_18.se1 +0 -0
- package/package.json +6 -1
- package/wasm/build/swisseph.node.js +0 -0
- package/wasm/build/swisseph.web.js +0 -0
- /package/dist/{chunk-4XS3UZEI.js.map → chunk-MWHMP3LI.js.map} +0 -0
- /package/dist/{chunk-KYYS4GHH.mjs.map → chunk-V5KXYFHZ.mjs.map} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kaabalah
|
|
2
2
|
|
|
3
|
-
A comprehensive TypeScript library for numerology, astrology, kaabalah, gematria, tarot, and Ifa divination.
|
|
3
|
+
A comprehensive TypeScript library for numerology, astrology, kaabalah, gematria, tarot, I Ching, and Ifa divination.
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<img src="./examples/tree-of-life-readme.svg" alt="Color Tree of Life rendered from kaabalah/visual" width="420" />
|
|
@@ -29,6 +29,7 @@ All modules are tree-shakable and can be imported independently:
|
|
|
29
29
|
| Astrology | `kaabalah/astrology` | Birth charts, synastry, composite, transits, solar returns, profections, firdaria, astrocartography, dignity, decans, dodecatemoria |
|
|
30
30
|
| Gematria | `kaabalah/gematria` | Hebrew letter numerology |
|
|
31
31
|
| Tarot | `kaabalah/tarot` | 78-card deck with profiles, archetypes, correspondences, multi-deck images, spread engine |
|
|
32
|
+
| I Ching | `kaabalah/iching` | 64 hexagrams, classical Chinese and original English, Han technical derivations, tree-backed Kaabalah, coin casting |
|
|
32
33
|
| Ifa | `kaabalah/ifa` | Odu divination |
|
|
33
34
|
| Semantic | `kaabalah/semantic` | Theme profiles, kaabalistic overlay correspondences, symbol metadata |
|
|
34
35
|
| Visual | `kaabalah/visual` | Tree of Life and astrology wheel SVG generation plus layout/render-model data |
|
|
@@ -56,18 +57,33 @@ const svg = generateTreeSvg({ background: 'transparent', palette: 'monochrome' }
|
|
|
56
57
|
const wheelSvg = generateAstroWheelSvg(chart, { background: 'transparent' });
|
|
57
58
|
```
|
|
58
59
|
|
|
60
|
+
## I Ching
|
|
61
|
+
|
|
62
|
+
```ts
|
|
63
|
+
import { getIChingReading, castThreeCoins } from 'kaabalah/iching';
|
|
64
|
+
|
|
65
|
+
const reading = getIChingReading('879777'); // six classical lines, bottom to top
|
|
66
|
+
const replay = getIChingReading(30, [2, 4]); // same as lines 767987
|
|
67
|
+
const cast = castThreeCoins(); // inject an RNG for reproducible tests
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Store the six cast lines; derive the cast, moving lines, transformed and nuclear figures, palace, 納甲, 六親, 世/應 relations, line transforms, Zhu Xi texts, sovereign months, and separate Kaabalah gate/family/pillar layers. Static casts have a null transformed state. With six moving lines, 乾 uses 用九 and 坤 uses 用六. Transform `after` relatives use the destination palace; `afterInCastPalace` provides the original palace frame. See the [I Ching API and source notes](src/iching/README.md).
|
|
71
|
+
|
|
59
72
|
## CLI
|
|
60
73
|
|
|
61
74
|
```bash
|
|
62
75
|
npx kaabalah help # list all commands
|
|
63
76
|
npx kaabalah help --json # full schema introspection
|
|
77
|
+
npx kaabalah iching:reading --lines 879777 --json --compact
|
|
78
|
+
npx kaabalah iching:hexagram 25 --json --compact
|
|
79
|
+
npx kaabalah iching:cast --json --compact
|
|
64
80
|
npx kaabalah numerology 1990-01-15 --json --compact
|
|
65
81
|
npx kaabalah astrology 1990-01-15 14:30 --lat=40.71 --lon=-74 --json
|
|
66
82
|
npx kaabalah astrology:wheel 1990-01-15 14:30 --lat=40.71 --lon=-74 --json --compact --fields=svg
|
|
67
83
|
npx kaabalah tree:node "tarotArkAnnu:The Magician" --depth=2 --json
|
|
68
84
|
```
|
|
69
85
|
|
|
70
|
-
|
|
86
|
+
Run `kaabalah help --json` to discover commands and schemas. See the [CLI Reference](https://docs.kaabalah.com/getting-started/cli/) for the full list.
|
|
71
87
|
|
|
72
88
|
## Support
|
|
73
89
|
|