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.
Files changed (2) hide show
  1. package/README.md +12 -10
  2. 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
- - **Kaabalah**: Hebrew gematria calculations and mystical interpretations
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
- ### Full Library
21
+ ### Core Library
21
22
 
22
23
  ```typescript
23
- import * as Kaabalah from 'kaabalah';
24
+ import { createTree } from 'kaabalah/core';
24
25
 
25
- // Calculate life path number
26
- const lifePath = Kaabalah.calculateLifePath(new Date('1990-01-15'));
27
- console.log(`Life Path Number: ${lifePath}`);
26
+ const tree = createTree({
27
+ system: 'kaabalah',
28
+ parts: ['westernAstrology', 'tarot'],
29
+ });
30
+
31
+ const gematriaResult = calculateGematria('kaabalah', tree);
28
32
 
29
- // Get a random tarot spread
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.2.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
- "./kaabalah": {
25
- "types": "./dist/kaabalah/index.d.ts",
26
- "require": "./dist/kaabalah/index.js",
27
- "import": "./dist/kaabalah/index.mjs"
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": "Mateus Moura <matmoura@kaabalah.com>",
77
+ "author": "Mat Moura <matmoura@kaabalah.com>",
73
78
  "license": "AGPL-3.0",
74
79
  "directories": {
75
80
  "doc": "docs",