kaabalah 6.12.1 → 6.14.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.
Files changed (63) hide show
  1. package/README.md +18 -2
  2. package/dist/chunk-4PVIDUPI.js +3809 -0
  3. package/dist/chunk-4PVIDUPI.js.map +1 -0
  4. package/dist/{chunk-4XS3UZEI.js → chunk-7C7VO76O.js} +437 -7
  5. package/dist/chunk-7C7VO76O.js.map +1 -0
  6. package/dist/chunk-OZUEDZ4U.mjs +3699 -0
  7. package/dist/chunk-OZUEDZ4U.mjs.map +1 -0
  8. package/dist/{chunk-KYYS4GHH.mjs → chunk-QQN54SLY.mjs} +427 -6
  9. package/dist/chunk-QQN54SLY.mjs.map +1 -0
  10. package/dist/chunk-WA52P72D.mjs +3781 -0
  11. package/dist/chunk-WA52P72D.mjs.map +1 -0
  12. package/dist/chunk-XWVT3SI7.js +3735 -0
  13. package/dist/chunk-XWVT3SI7.js.map +1 -0
  14. package/dist/cli.js +5744 -145
  15. package/dist/cli.js.map +1 -1
  16. package/dist/{correspondence-model-JSyDWwmn.d.mts → constants-C0XjrYIG.d.mts} +1 -297
  17. package/dist/{correspondence-model-JSyDWwmn.d.ts → constants-C0XjrYIG.d.ts} +1 -297
  18. package/dist/core/index.d.mts +5 -3
  19. package/dist/core/index.d.ts +5 -3
  20. package/dist/correspondence-model-5JQwAX16.d.ts +299 -0
  21. package/dist/correspondence-model-QJK8AilM.d.mts +299 -0
  22. package/dist/{data-_b06lgY6.d.ts → data-BRi5-xg_.d.ts} +10 -2
  23. package/dist/{data-CdjlIcAo.d.mts → data-BoQrkrWX.d.mts} +10 -2
  24. package/dist/gematria/index.d.mts +2 -1
  25. package/dist/gematria/index.d.ts +2 -1
  26. package/dist/iching/index.d.mts +917 -0
  27. package/dist/iching/index.d.ts +917 -0
  28. package/dist/iching/index.js +151 -0
  29. package/dist/iching/index.js.map +1 -0
  30. package/dist/iching/index.mjs +6 -0
  31. package/dist/iching/index.mjs.map +1 -0
  32. package/dist/index.d.mts +7 -5
  33. package/dist/index.d.ts +7 -5
  34. package/dist/index.js +306 -109
  35. package/dist/index.mjs +3 -2
  36. package/dist/semantic/index.d.mts +211 -3
  37. package/dist/semantic/index.d.ts +211 -3
  38. package/dist/semantic/index.js +57 -21
  39. package/dist/semantic/index.mjs +2 -2
  40. package/dist/swisseph.node.js +0 -0
  41. package/dist/swisseph.web.js +0 -0
  42. package/dist/tarot/index.d.mts +60 -4
  43. package/dist/tarot/index.d.ts +60 -4
  44. package/dist/tarot/index.js +43 -23
  45. package/dist/tarot/index.mjs +1 -1
  46. package/dist/{topology-CH3hsIqO.d.mts → topology-C8PdKGeK.d.ts} +2 -1
  47. package/dist/{topology-DXYTpDvj.d.ts → topology-sytcjXkx.d.mts} +2 -1
  48. package/dist/visual/index.d.mts +3 -2
  49. package/dist/visual/index.d.ts +3 -2
  50. package/dist/wasm/build/swisseph.node.js +0 -0
  51. package/dist/wasm/build/swisseph.web.js +0 -0
  52. package/ephe/seas_18.se1 +0 -0
  53. package/ephe/semo_18.se1 +0 -0
  54. package/ephe/sepl_18.se1 +0 -0
  55. package/package.json +6 -1
  56. package/wasm/build/swisseph.node.js +0 -0
  57. package/wasm/build/swisseph.web.js +0 -0
  58. package/dist/chunk-4XS3UZEI.js.map +0 -1
  59. package/dist/chunk-GET23WEG.js +0 -2678
  60. package/dist/chunk-GET23WEG.js.map +0 -1
  61. package/dist/chunk-KYYS4GHH.mjs.map +0 -1
  62. package/dist/chunk-WER5UY5M.mjs +0 -2655
  63. package/dist/chunk-WER5UY5M.mjs.map +0 -1
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
- 28 commands covering all modules. See the [CLI Reference](https://docs.kaabalah.com/getting-started/cli/) for the full list.
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