kaabalah 0.2.0 → 1.0.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 +12 -10
- package/dist/core/index.d.mts +15 -0
- package/dist/core/index.d.ts +15 -0
- package/dist/core/index.js +2379 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/index.mjs +2341 -0
- package/dist/core/index.mjs.map +1 -0
- package/dist/gematria/index.d.mts +39 -0
- package/dist/gematria/index.d.ts +39 -0
- package/dist/gematria/index.js +2484 -0
- package/dist/gematria/index.js.map +1 -0
- package/dist/gematria/index.mjs +2463 -0
- package/dist/gematria/index.mjs.map +1 -0
- package/dist/ifa/index.d.mts +16 -0
- package/dist/ifa/index.d.ts +16 -0
- package/dist/ifa/index.js +75 -0
- package/dist/ifa/index.js.map +1 -0
- package/dist/ifa/index.mjs +50 -0
- package/dist/ifa/index.mjs.map +1 -0
- package/dist/index.d.mts +3 -9
- package/dist/index.d.ts +3 -9
- package/dist/index.js +2384 -466
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2370 -464
- package/dist/index.mjs.map +1 -1
- package/dist/registry-Cz3t3ylv.d.mts +479 -0
- package/dist/registry-Cz3t3ylv.d.ts +479 -0
- package/package.json +13 -7
- package/dist/kaabalah/index.d.mts +0 -26
- package/dist/kaabalah/index.d.ts +0 -26
- package/dist/kaabalah/index.js +0 -590
- package/dist/kaabalah/index.js.map +0 -1
- package/dist/kaabalah/index.mjs +0 -565
- package/dist/kaabalah/index.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -4,9 +4,10 @@ A comprehensive TypeScript library for numerology, astrology, kaabalah, and taro
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
+
- **Tree of Life**: A modular and performant tree of life system to help you build correspondences across different systems
|
|
7
8
|
- **Numerology**: Calculate life path numbers and other numerological values
|
|
8
9
|
- **Astrology**: Generate birth charts and planetary positions using Swiss Ephemeris
|
|
9
|
-
- **
|
|
10
|
+
- **Gematria**: Gematria (text numerology) calculations
|
|
10
11
|
- **Tarot**: Card meanings, spreads, and interpretations
|
|
11
12
|
|
|
12
13
|
## Installation
|
|
@@ -17,18 +18,19 @@ npm install kaabalah
|
|
|
17
18
|
|
|
18
19
|
## Usage Examples
|
|
19
20
|
|
|
20
|
-
###
|
|
21
|
+
### Core Library
|
|
21
22
|
|
|
22
23
|
```typescript
|
|
23
|
-
import
|
|
24
|
+
import { createTree } from 'kaabalah/core';
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
const tree = createTree({
|
|
27
|
+
system: 'kaabalah',
|
|
28
|
+
parts: ['westernAstrology', 'tarot'],
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const gematriaResult = calculateGematria('kaabalah', tree);
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
const spread = Kaabalah.getRandomSpread(3);
|
|
31
|
-
console.log('Tarot Spread:', spread);
|
|
33
|
+
console.log(gematriaResult);
|
|
32
34
|
```
|
|
33
35
|
|
|
34
36
|
### Direct Module Imports (Tree-Shakable)
|
|
@@ -52,7 +54,7 @@ const birthChart = getBirthChart({
|
|
|
52
54
|
});
|
|
53
55
|
|
|
54
56
|
// Calculate Hebrew gematria
|
|
55
|
-
const gematriaValue = calculateGematria('
|
|
57
|
+
const gematriaValue = calculateGematria('kaabalah');
|
|
56
58
|
|
|
57
59
|
// Get a tarot spread
|
|
58
60
|
const spread = getRandomSpread(3, true);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { t as SystemKey, u as PartKey, w as TreeOfLife } from '../registry-Cz3t3ylv.mjs';
|
|
2
|
+
export { B as Bridge, C as ColorData, F as FOUR_WORLDS, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, l as LATIN_LETTERS, L as LURIANIC_PATHS, v as Loader, k as MELKITZEDEKI_PATHS, M as MusicalNoteData, c as Node, b as NodeData, N as NodeId, a as NodeType, g as PLANETS, P as PathData, e as SPHERES, f as SPHERE_DATA, s as SYSTEMS, S as SphereData, r as System, p as TAROT_ARKANNUS, q as TAROT_ARKANNUS_DATA, o as TAROT_SUITS, T as TarotArkAnnuData, U as Unloader, i as WESTERN_ELEMENTS, h as WESTERN_ZODIAC_SIGNS, j as WESTERN_ZODIAC_SIGNS_DATA, d as WesternZodiacSignData, W as WorldData } from '../registry-Cz3t3ylv.mjs';
|
|
3
|
+
|
|
4
|
+
interface TreeOptions {
|
|
5
|
+
system: SystemKey;
|
|
6
|
+
parts?: Exclude<PartKey, "base">[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new Tree of Life instance with optional system loaders
|
|
10
|
+
* @param opts Configuration options for which systems to load
|
|
11
|
+
* @returns A new TreeOfLife instance with the requested systems loaded
|
|
12
|
+
*/
|
|
13
|
+
declare function createTree(opts?: TreeOptions): TreeOfLife;
|
|
14
|
+
|
|
15
|
+
export { PartKey, SystemKey, TreeOfLife, type TreeOptions, createTree };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { t as SystemKey, u as PartKey, w as TreeOfLife } from '../registry-Cz3t3ylv.js';
|
|
2
|
+
export { B as Bridge, C as ColorData, F as FOUR_WORLDS, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, l as LATIN_LETTERS, L as LURIANIC_PATHS, v as Loader, k as MELKITZEDEKI_PATHS, M as MusicalNoteData, c as Node, b as NodeData, N as NodeId, a as NodeType, g as PLANETS, P as PathData, e as SPHERES, f as SPHERE_DATA, s as SYSTEMS, S as SphereData, r as System, p as TAROT_ARKANNUS, q as TAROT_ARKANNUS_DATA, o as TAROT_SUITS, T as TarotArkAnnuData, U as Unloader, i as WESTERN_ELEMENTS, h as WESTERN_ZODIAC_SIGNS, j as WESTERN_ZODIAC_SIGNS_DATA, d as WesternZodiacSignData, W as WorldData } from '../registry-Cz3t3ylv.js';
|
|
3
|
+
|
|
4
|
+
interface TreeOptions {
|
|
5
|
+
system: SystemKey;
|
|
6
|
+
parts?: Exclude<PartKey, "base">[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new Tree of Life instance with optional system loaders
|
|
10
|
+
* @param opts Configuration options for which systems to load
|
|
11
|
+
* @returns A new TreeOfLife instance with the requested systems loaded
|
|
12
|
+
*/
|
|
13
|
+
declare function createTree(opts?: TreeOptions): TreeOfLife;
|
|
14
|
+
|
|
15
|
+
export { PartKey, SystemKey, TreeOfLife, type TreeOptions, createTree };
|