kaabalah 0.2.0 → 1.0.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 +12 -10
- package/package.json +11 -6
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);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaabalah",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "The de-facto library for any esoteric calculations and tooling",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
"require": "./dist/index.js",
|
|
12
12
|
"import": "./dist/index.mjs"
|
|
13
13
|
},
|
|
14
|
+
"./core": {
|
|
15
|
+
"types": "./dist/core/index.d.ts",
|
|
16
|
+
"require": "./dist/core/index.js",
|
|
17
|
+
"import": "./dist/core/index.mjs"
|
|
18
|
+
},
|
|
14
19
|
"./numerology": {
|
|
15
20
|
"types": "./dist/numerology/index.d.ts",
|
|
16
21
|
"require": "./dist/numerology/index.js",
|
|
@@ -21,10 +26,10 @@
|
|
|
21
26
|
"require": "./dist/astrology/index.js",
|
|
22
27
|
"import": "./dist/astrology/index.mjs"
|
|
23
28
|
},
|
|
24
|
-
"./
|
|
25
|
-
"types": "./dist/
|
|
26
|
-
"require": "./dist/
|
|
27
|
-
"import": "./dist/
|
|
29
|
+
"./gematria": {
|
|
30
|
+
"types": "./dist/gematria/index.d.ts",
|
|
31
|
+
"require": "./dist/gematria/index.js",
|
|
32
|
+
"import": "./dist/gematria/index.mjs"
|
|
28
33
|
},
|
|
29
34
|
"./tarot": {
|
|
30
35
|
"types": "./dist/tarot/index.d.ts",
|
|
@@ -69,7 +74,7 @@
|
|
|
69
74
|
"esoteric",
|
|
70
75
|
"mysticism"
|
|
71
76
|
],
|
|
72
|
-
"author": "
|
|
77
|
+
"author": "Mat Moura <matmoura@kaabalah.com>",
|
|
73
78
|
"license": "AGPL-3.0",
|
|
74
79
|
"directories": {
|
|
75
80
|
"doc": "docs",
|