kaabalah 5.0.0 → 5.1.1
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 +70 -0
- package/dist/{chunk-JBMCNKO4.mjs → chunk-2J6CVLH2.mjs} +5 -4
- package/dist/chunk-2J6CVLH2.mjs.map +1 -0
- package/dist/{chunk-FVEVTAM7.js → chunk-2WENLHIP.js} +4 -4
- package/dist/{chunk-FVEVTAM7.js.map → chunk-2WENLHIP.js.map} +1 -1
- package/dist/{chunk-X2SPWMUA.mjs → chunk-5ID55YUP.mjs} +3 -3
- package/dist/{chunk-X2SPWMUA.mjs.map → chunk-5ID55YUP.mjs.map} +1 -1
- package/dist/{chunk-KUH2YDQ2.js → chunk-T67M2WBD.js} +5 -4
- package/dist/chunk-T67M2WBD.js.map +1 -0
- package/dist/{chunk-KSKAKQTM.mjs → chunk-XSAXO3D2.mjs} +3 -3
- package/dist/{chunk-KSKAKQTM.mjs.map → chunk-XSAXO3D2.mjs.map} +1 -1
- package/dist/{chunk-U77YFJXJ.js → chunk-ZZ3YMT2R.js} +23 -23
- package/dist/{chunk-U77YFJXJ.js.map → chunk-ZZ3YMT2R.js.map} +1 -1
- package/dist/cli.js +230 -44
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +217 -31
- package/dist/cli.mjs.map +1 -1
- package/dist/core/index.js +38 -38
- package/dist/core/index.mjs +1 -1
- package/dist/gematria/index.js +5 -5
- package/dist/gematria/index.mjs +2 -2
- package/dist/index.js +58 -58
- package/dist/index.mjs +3 -3
- package/dist/numerology/index.js +18 -18
- package/dist/numerology/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-JBMCNKO4.mjs.map +0 -1
- package/dist/chunk-KUH2YDQ2.js.map +0 -1
package/README.md
CHANGED
|
@@ -70,6 +70,76 @@ const gematriaValue = calculateGematria('kaabalah');
|
|
|
70
70
|
const spread = getRandomSpread(3, true);
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
## CLI
|
|
74
|
+
|
|
75
|
+
Kaabalah includes a command-line interface for quick calculations without writing code.
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Install globally
|
|
79
|
+
npm install -g kaabalah
|
|
80
|
+
|
|
81
|
+
# Or run directly with npx
|
|
82
|
+
npx kaabalah help
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Commands
|
|
86
|
+
|
|
87
|
+
| Command | Description |
|
|
88
|
+
|---------|-------------|
|
|
89
|
+
| `gematria <text>` | Calculate gematria for a word or phrase |
|
|
90
|
+
| `gematria:reverse <number>` | Find letter combinations matching a gematria value |
|
|
91
|
+
| `numerology <date>` | Full numerological profile for a birth date |
|
|
92
|
+
| `numerology:lifepath <date>` | Life path number (kaabalistic method) |
|
|
93
|
+
| `numerology:cycles <date> [name]` | Personal cycles (year, month, periods) |
|
|
94
|
+
| `numerology:challenges <date>` | Challenges from birth date |
|
|
95
|
+
| `numerology:fibonacci <date>` | Fibonacci cycle for current age |
|
|
96
|
+
| `astrology <date> [time]` | Calculate birth chart using Swiss Ephemeris |
|
|
97
|
+
| `tarot [count]` | Draw tarot cards (default: 3) |
|
|
98
|
+
| `tarot:card <number>` | Look up a specific card (1-78) |
|
|
99
|
+
| `ifa <date>` | Calculate Odu from a date |
|
|
100
|
+
| `tree` | Show Tree of Life structure with all nodes, data, and edges |
|
|
101
|
+
| `tree:node <id>` | Look up a node and all its correspondences |
|
|
102
|
+
| `tree:types` | List all node types and their counts |
|
|
103
|
+
|
|
104
|
+
### Examples
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
kaabalah gematria "Hello World"
|
|
108
|
+
kaabalah numerology 1990-01-15
|
|
109
|
+
kaabalah numerology:cycles 1990-01-15 John
|
|
110
|
+
kaabalah tarot 5 --inverted
|
|
111
|
+
kaabalah tarot:card 7
|
|
112
|
+
kaabalah gematria:reverse 22
|
|
113
|
+
kaabalah ifa 1990-01-15
|
|
114
|
+
kaabalah astrology 1990-01-15 14:30 --lat=40.7128 --lon=-74.006
|
|
115
|
+
kaabalah astrology 1990-01-15 14:30 --location="New York, USA"
|
|
116
|
+
|
|
117
|
+
# Tree of Life correspondences
|
|
118
|
+
kaabalah tree:node path:1 --json
|
|
119
|
+
kaabalah tree:node "tarotArkAnnu:The Magician" --depth=2 --json
|
|
120
|
+
kaabalah tree:node sphere:Kether --type=tarotArkAnnu --json
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Global Flags
|
|
124
|
+
|
|
125
|
+
| Flag | Description |
|
|
126
|
+
|------|-------------|
|
|
127
|
+
| `--json` | JSON output (auto-enabled when stdout is not a TTY) |
|
|
128
|
+
| `--no-json` | Force human-readable output even when piped |
|
|
129
|
+
| `--compact` | Minified JSON (no indentation) |
|
|
130
|
+
| `--fields=a.b,c.d` | Filter JSON output to specified dot-paths |
|
|
131
|
+
| `--input-json='{"key":"val"}'` | Pass all parameters as a JSON object |
|
|
132
|
+
|
|
133
|
+
### Schema Introspection
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
# Full schema of all commands
|
|
137
|
+
kaabalah help --json
|
|
138
|
+
|
|
139
|
+
# Schema for a specific command
|
|
140
|
+
kaabalah help astrology --json
|
|
141
|
+
```
|
|
142
|
+
|
|
73
143
|
## Development
|
|
74
144
|
|
|
75
145
|
This project uses TypeScript and WebAssembly for the Swiss Ephemeris calculations.
|
|
@@ -6622,7 +6622,7 @@ var TreeOfLife = class {
|
|
|
6622
6622
|
}
|
|
6623
6623
|
return [
|
|
6624
6624
|
...new Set(
|
|
6625
|
-
[...this.adjacent.get(id2).values()].map(
|
|
6625
|
+
[...(this.adjacent.get(id2) ?? /* @__PURE__ */ new Set()).values()].map(
|
|
6626
6626
|
(nodeId) => this.nodes.get(nodeId).type
|
|
6627
6627
|
)
|
|
6628
6628
|
)
|
|
@@ -6817,9 +6817,10 @@ var TreeOfLife = class {
|
|
|
6817
6817
|
this.link(node, tarotArkAnnuId);
|
|
6818
6818
|
this.addNumber({ number: relatedNumber, nodeId: tarotArkAnnuId });
|
|
6819
6819
|
if (suit) {
|
|
6820
|
+
const suitValue = suit.includes(":") ? suit.split(":").pop() : suit;
|
|
6820
6821
|
const suitId = this.upsertNode(
|
|
6821
6822
|
new BaseNode({
|
|
6822
|
-
id:
|
|
6823
|
+
id: suitValue,
|
|
6823
6824
|
type: "tarotSuit" /* TAROT_SUIT */
|
|
6824
6825
|
})
|
|
6825
6826
|
);
|
|
@@ -6843,5 +6844,5 @@ function createTree(opts = {
|
|
|
6843
6844
|
}
|
|
6844
6845
|
|
|
6845
6846
|
export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MODALITIES, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEM, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ASPECTS, WESTERN_ELEMENTS, WESTERN_HOUSES, WESTERN_ZODIAC_SIGNS, WesternAstrologyTypes, createTree, id, parseId };
|
|
6846
|
-
//# sourceMappingURL=chunk-
|
|
6847
|
-
//# sourceMappingURL=chunk-
|
|
6847
|
+
//# sourceMappingURL=chunk-2J6CVLH2.mjs.map
|
|
6848
|
+
//# sourceMappingURL=chunk-2J6CVLH2.mjs.map
|