kaabalah 2.1.3 → 3.1.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/dist/chunk-3WVZRLPG.js +52 -0
- package/dist/chunk-3WVZRLPG.js.map +1 -0
- package/dist/chunk-4IMODQPK.js +495 -0
- package/dist/chunk-4IMODQPK.js.map +1 -0
- package/dist/chunk-6DHXZLYH.mjs +479 -0
- package/dist/chunk-6DHXZLYH.mjs.map +1 -0
- package/dist/chunk-YTZCZRJG.mjs +50 -0
- package/dist/chunk-YTZCZRJG.mjs.map +1 -0
- package/dist/ifa/index.d.mts +8 -7
- package/dist/ifa/index.d.ts +8 -7
- package/dist/ifa/index.js +6 -47
- package/dist/ifa/index.js.map +1 -1
- package/dist/ifa/index.mjs +1 -49
- package/dist/ifa/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +66 -13
- package/dist/index.mjs +2 -1
- package/dist/numerology/index.d.mts +118 -6
- package/dist/numerology/index.d.ts +118 -6
- package/dist/numerology/index.js +55 -5
- package/dist/numerology/index.mjs +3 -1
- package/package.json +5 -5
- package/dist/chunk-RGMSQCP5.js +0 -163
- package/dist/chunk-RGMSQCP5.js.map +0 -1
- package/dist/chunk-W7GBKP5K.mjs +0 -159
- package/dist/chunk-W7GBKP5K.mjs.map +0 -1
package/dist/ifa/index.js
CHANGED
|
@@ -1,54 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunk3WVZRLPG_js = require('../chunk-3WVZRLPG.js');
|
|
3
4
|
require('../chunk-2TUXWMP5.js');
|
|
4
5
|
|
|
5
|
-
// src/ifa/index.ts
|
|
6
|
-
function calculateOdu(date) {
|
|
7
|
-
const day = date.getDate().toString().padStart(2, "0");
|
|
8
|
-
const month = (date.getMonth() + 1).toString().padStart(2, "0");
|
|
9
|
-
const year = date.getFullYear().toString();
|
|
10
|
-
const leftNumbers = [
|
|
11
|
-
parseInt(day[0]),
|
|
12
|
-
// First digit of day
|
|
13
|
-
parseInt(month[0]),
|
|
14
|
-
// First digit of month
|
|
15
|
-
parseInt(year[0]),
|
|
16
|
-
// First digit of year
|
|
17
|
-
parseInt(year[2])
|
|
18
|
-
// Third digit of year
|
|
19
|
-
];
|
|
20
|
-
const rightNumbers = [
|
|
21
|
-
parseInt(day[1]),
|
|
22
|
-
// Second digit of day
|
|
23
|
-
parseInt(month[1]),
|
|
24
|
-
// Second digit of month
|
|
25
|
-
parseInt(year[1]),
|
|
26
|
-
// Second digit of year
|
|
27
|
-
parseInt(year[3])
|
|
28
|
-
// Fourth digit of year
|
|
29
|
-
];
|
|
30
|
-
function reduceNumber(num) {
|
|
31
|
-
if (num <= 16) return num;
|
|
32
|
-
return reduceNumber(num.toString().split("").reduce((a, b) => a + parseInt(b), 0));
|
|
33
|
-
}
|
|
34
|
-
const rawLeftSum = leftNumbers.reduce((a, b) => a + b, 0);
|
|
35
|
-
const rawRightSum = rightNumbers.reduce((a, b) => a + b, 0);
|
|
36
|
-
const north = reduceNumber(rawLeftSum);
|
|
37
|
-
const south = reduceNumber(rawRightSum);
|
|
38
|
-
const east = reduceNumber(north + south);
|
|
39
|
-
const west = reduceNumber(north + south + east);
|
|
40
|
-
const center = reduceNumber(north + south + east + west);
|
|
41
|
-
return {
|
|
42
|
-
leftNumbers,
|
|
43
|
-
rightNumbers,
|
|
44
|
-
north,
|
|
45
|
-
south,
|
|
46
|
-
east,
|
|
47
|
-
west,
|
|
48
|
-
center
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
6
|
|
|
52
|
-
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "calculateOdu", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk3WVZRLPG_js.calculateOdu; }
|
|
11
|
+
});
|
|
53
12
|
//# sourceMappingURL=index.js.map
|
|
54
13
|
//# sourceMappingURL=index.js.map
|
package/dist/ifa/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/ifa/index.mjs
CHANGED
|
@@ -1,52 +1,4 @@
|
|
|
1
|
+
export { calculateOdu } from '../chunk-YTZCZRJG.mjs';
|
|
1
2
|
import '../chunk-PY5SMMJB.mjs';
|
|
2
|
-
|
|
3
|
-
// src/ifa/index.ts
|
|
4
|
-
function calculateOdu(date) {
|
|
5
|
-
const day = date.getDate().toString().padStart(2, "0");
|
|
6
|
-
const month = (date.getMonth() + 1).toString().padStart(2, "0");
|
|
7
|
-
const year = date.getFullYear().toString();
|
|
8
|
-
const leftNumbers = [
|
|
9
|
-
parseInt(day[0]),
|
|
10
|
-
// First digit of day
|
|
11
|
-
parseInt(month[0]),
|
|
12
|
-
// First digit of month
|
|
13
|
-
parseInt(year[0]),
|
|
14
|
-
// First digit of year
|
|
15
|
-
parseInt(year[2])
|
|
16
|
-
// Third digit of year
|
|
17
|
-
];
|
|
18
|
-
const rightNumbers = [
|
|
19
|
-
parseInt(day[1]),
|
|
20
|
-
// Second digit of day
|
|
21
|
-
parseInt(month[1]),
|
|
22
|
-
// Second digit of month
|
|
23
|
-
parseInt(year[1]),
|
|
24
|
-
// Second digit of year
|
|
25
|
-
parseInt(year[3])
|
|
26
|
-
// Fourth digit of year
|
|
27
|
-
];
|
|
28
|
-
function reduceNumber(num) {
|
|
29
|
-
if (num <= 16) return num;
|
|
30
|
-
return reduceNumber(num.toString().split("").reduce((a, b) => a + parseInt(b), 0));
|
|
31
|
-
}
|
|
32
|
-
const rawLeftSum = leftNumbers.reduce((a, b) => a + b, 0);
|
|
33
|
-
const rawRightSum = rightNumbers.reduce((a, b) => a + b, 0);
|
|
34
|
-
const north = reduceNumber(rawLeftSum);
|
|
35
|
-
const south = reduceNumber(rawRightSum);
|
|
36
|
-
const east = reduceNumber(north + south);
|
|
37
|
-
const west = reduceNumber(north + south + east);
|
|
38
|
-
const center = reduceNumber(north + south + east + west);
|
|
39
|
-
return {
|
|
40
|
-
leftNumbers,
|
|
41
|
-
rightNumbers,
|
|
42
|
-
north,
|
|
43
|
-
south,
|
|
44
|
-
east,
|
|
45
|
-
west,
|
|
46
|
-
center
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { calculateOdu };
|
|
51
3
|
//# sourceMappingURL=index.mjs.map
|
|
52
4
|
//# sourceMappingURL=index.mjs.map
|
package/dist/ifa/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/index.d.mts
CHANGED
|
@@ -2,5 +2,6 @@ export { BirthChart, BirthChartOptions, CalcFlag, HouseSystem, Planet, closeSwis
|
|
|
2
2
|
export { _ as BaseNode, B as Bridge, u as COLORS, v as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, b as FOUR_WORLDS_DATA, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, k as LATIN_LETTERS, l as LATIN_LETTERS_DATA, j as LURIANIC_PATHS, L as LatinLetterData, E as LetterTypes, A as Loader, i as MELKITZEDEKI_PATHS, s as MUSICAL_NOTES, t as MUSICAL_NOTES_DATA, O as MiscTypes, M as MusicalNoteData, Z as Node, Y as NodeData, R as NodeId, Q as NodeType, N as NumerologyTypes, e as PLANETS, z as PartKey, P as PathData, c as SPHERES, d as SPHERES_DATA, x as SYSTEMS, S as SphereData, w as System, y as SystemKey, p as TAROT_ARKANNUS, r as TAROT_ARKANNUS_DATA, q as TAROT_DECKS, o as TAROT_SUITS, J as TantraTypes, T as TarotArkAnnuData, I as TarotTypes, D as TreeOfLife, U as Unloader, g as WESTERN_ELEMENTS, f as WESTERN_ZODIAC_SIGNS, h as WESTERN_ZODIAC_SIGNS_DATA, G as WesternAstrologyTypes, a as WesternZodiacSignData, W as WorldData, V as id, X as parseId } from './registry-BoqJvsPr.mjs';
|
|
3
3
|
export { TreeOptions, createTree } from './core/index.mjs';
|
|
4
4
|
export { calculateGematria } from './gematria/index.mjs';
|
|
5
|
-
export {
|
|
5
|
+
export { OduNumbers, calculateOdu } from './ifa/index.mjs';
|
|
6
|
+
export { CYCLE_MEANINGS, Challenges, Cycle, CycleInfo, DateEnergies, FibonacciCycle, KaabalisticLifePathResult, MASTER_NUMBERS, PersonalCycles, PersonalMonth, PersonalPeriod, ReducedValueWithSteps, StraightAcrossReductionLifePathResult, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from './numerology/index.mjs';
|
|
6
7
|
export { ARKANNUS, Deck, MajorArcana, TarotCard, majorArcana, shuffleTarotDeck } from './tarot/index.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ export { BirthChart, BirthChartOptions, CalcFlag, HouseSystem, Planet, closeSwis
|
|
|
2
2
|
export { _ as BaseNode, B as Bridge, u as COLORS, v as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, b as FOUR_WORLDS_DATA, m as HEBREW_LETTERS, n as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, k as LATIN_LETTERS, l as LATIN_LETTERS_DATA, j as LURIANIC_PATHS, L as LatinLetterData, E as LetterTypes, A as Loader, i as MELKITZEDEKI_PATHS, s as MUSICAL_NOTES, t as MUSICAL_NOTES_DATA, O as MiscTypes, M as MusicalNoteData, Z as Node, Y as NodeData, R as NodeId, Q as NodeType, N as NumerologyTypes, e as PLANETS, z as PartKey, P as PathData, c as SPHERES, d as SPHERES_DATA, x as SYSTEMS, S as SphereData, w as System, y as SystemKey, p as TAROT_ARKANNUS, r as TAROT_ARKANNUS_DATA, q as TAROT_DECKS, o as TAROT_SUITS, J as TantraTypes, T as TarotArkAnnuData, I as TarotTypes, D as TreeOfLife, U as Unloader, g as WESTERN_ELEMENTS, f as WESTERN_ZODIAC_SIGNS, h as WESTERN_ZODIAC_SIGNS_DATA, G as WesternAstrologyTypes, a as WesternZodiacSignData, W as WorldData, V as id, X as parseId } from './registry-BoqJvsPr.js';
|
|
3
3
|
export { TreeOptions, createTree } from './core/index.js';
|
|
4
4
|
export { calculateGematria } from './gematria/index.js';
|
|
5
|
-
export {
|
|
5
|
+
export { OduNumbers, calculateOdu } from './ifa/index.js';
|
|
6
|
+
export { CYCLE_MEANINGS, Challenges, Cycle, CycleInfo, DateEnergies, FibonacciCycle, KaabalisticLifePathResult, MASTER_NUMBERS, PersonalCycles, PersonalMonth, PersonalPeriod, ReducedValueWithSteps, StraightAcrossReductionLifePathResult, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from './numerology/index.js';
|
|
6
7
|
export { ARKANNUS, Deck, MajorArcana, TarotCard, majorArcana, shuffleTarotDeck } from './tarot/index.js';
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkSZXDOHKV_js = require('./chunk-SZXDOHKV.js');
|
|
4
4
|
require('./chunk-AD7T42HJ.js');
|
|
5
|
+
var chunk3WVZRLPG_js = require('./chunk-3WVZRLPG.js');
|
|
6
|
+
var chunk4IMODQPK_js = require('./chunk-4IMODQPK.js');
|
|
5
7
|
var chunkJJ76YVMI_js = require('./chunk-JJ76YVMI.js');
|
|
6
8
|
var chunk7CAIYKIO_js = require('./chunk-7CAIYKIO.js');
|
|
7
|
-
var chunkRGMSQCP5_js = require('./chunk-RGMSQCP5.js');
|
|
8
9
|
var chunkUXQDJUG6_js = require('./chunk-UXQDJUG6.js');
|
|
9
10
|
require('./chunk-2TUXWMP5.js');
|
|
10
11
|
|
|
@@ -42,6 +43,70 @@ Object.defineProperty(exports, "getZodiacPosition", {
|
|
|
42
43
|
enumerable: true,
|
|
43
44
|
get: function () { return chunkSZXDOHKV_js.getZodiacPosition; }
|
|
44
45
|
});
|
|
46
|
+
Object.defineProperty(exports, "calculateOdu", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunk3WVZRLPG_js.calculateOdu; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "CYCLE_MEANINGS", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunk4IMODQPK_js.CYCLE_MEANINGS; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "MASTER_NUMBERS", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunk4IMODQPK_js.MASTER_NUMBERS; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "calculateChallenges", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunk4IMODQPK_js.calculateChallenges; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "calculateCycles", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunk4IMODQPK_js.calculateCycles; }
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "calculateFibonacciCycle", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunk4IMODQPK_js.calculateFibonacciCycle; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "calculateKaabalisticLifePath", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunk4IMODQPK_js.calculateKaabalisticLifePath; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "calculatePersonalCycles", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalCycles; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "calculatePersonalMonths", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalMonths; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "calculatePersonalPeriods", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalPeriods; }
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "calculatePersonalYear", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalYear; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "calculateStraightAcrossReductionLifePath", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunk4IMODQPK_js.calculateStraightAcrossReductionLifePath; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "getDateEnergies", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunk4IMODQPK_js.getDateEnergies; }
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "isMasterNumber", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return chunk4IMODQPK_js.isMasterNumber; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "reduceToSingle", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunk4IMODQPK_js.reduceToSingle; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "reduceToSingleWithSteps", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunk4IMODQPK_js.reduceToSingleWithSteps; }
|
|
109
|
+
});
|
|
45
110
|
Object.defineProperty(exports, "calculateGematria", {
|
|
46
111
|
enumerable: true,
|
|
47
112
|
get: function () { return chunkJJ76YVMI_js.calculateGematria; }
|
|
@@ -186,18 +251,6 @@ Object.defineProperty(exports, "parseId", {
|
|
|
186
251
|
enumerable: true,
|
|
187
252
|
get: function () { return chunk7CAIYKIO_js.parseId; }
|
|
188
253
|
});
|
|
189
|
-
Object.defineProperty(exports, "CYCLE_MEANINGS", {
|
|
190
|
-
enumerable: true,
|
|
191
|
-
get: function () { return chunkRGMSQCP5_js.CYCLE_MEANINGS; }
|
|
192
|
-
});
|
|
193
|
-
Object.defineProperty(exports, "calculateCycles", {
|
|
194
|
-
enumerable: true,
|
|
195
|
-
get: function () { return chunkRGMSQCP5_js.calculateCycles; }
|
|
196
|
-
});
|
|
197
|
-
Object.defineProperty(exports, "calculateLifePath", {
|
|
198
|
-
enumerable: true,
|
|
199
|
-
get: function () { return chunkRGMSQCP5_js.calculateLifePath; }
|
|
200
|
-
});
|
|
201
254
|
Object.defineProperty(exports, "ARKANNUS", {
|
|
202
255
|
enumerable: true,
|
|
203
256
|
get: function () { return chunkUXQDJUG6_js.ARKANNUS; }
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { CalcFlag, HouseSystem, Planet, closeSwissEph, formatDegreeMinutes, getBirthChart, getSwissEph, getZodiacPosition } from './chunk-AV7WBVPS.mjs';
|
|
2
2
|
import './chunk-RFSO3JRG.mjs';
|
|
3
|
+
export { calculateOdu } from './chunk-YTZCZRJG.mjs';
|
|
4
|
+
export { CYCLE_MEANINGS, MASTER_NUMBERS, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from './chunk-6DHXZLYH.mjs';
|
|
3
5
|
export { calculateGematria } from './chunk-5ISXTWFX.mjs';
|
|
4
6
|
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, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ELEMENTS, WESTERN_ZODIAC_SIGNS, WESTERN_ZODIAC_SIGNS_DATA, WesternAstrologyTypes, createTree, id, parseId } from './chunk-3LUQXNH6.mjs';
|
|
5
|
-
export { CYCLE_MEANINGS, calculateCycles, calculateLifePath } from './chunk-W7GBKP5K.mjs';
|
|
6
7
|
export { ARKANNUS, majorArcana, shuffleTarotDeck } from './chunk-Q4N3V34Y.mjs';
|
|
7
8
|
import './chunk-PY5SMMJB.mjs';
|
|
8
9
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,12 +1,72 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Numerology calculations
|
|
3
3
|
*/
|
|
4
|
+
type ReducedValueWithSteps = {
|
|
5
|
+
reducedValue: number;
|
|
6
|
+
reductionSteps: number[];
|
|
7
|
+
};
|
|
8
|
+
declare const MASTER_NUMBERS: number[];
|
|
9
|
+
declare function isMasterNumber(n: number): boolean;
|
|
10
|
+
declare function reduceToSingle(n: number, options?: {
|
|
11
|
+
preserveMasters?: boolean;
|
|
12
|
+
}): number;
|
|
13
|
+
declare function reduceToSingleWithSteps(n: number, options?: {
|
|
14
|
+
preserveMasters?: boolean;
|
|
15
|
+
}): ReducedValueWithSteps;
|
|
16
|
+
type KaabalisticLifePathResult = {
|
|
17
|
+
parts: {
|
|
18
|
+
day: string;
|
|
19
|
+
month: string;
|
|
20
|
+
year1: string;
|
|
21
|
+
year2: string;
|
|
22
|
+
};
|
|
23
|
+
reducedParts: {
|
|
24
|
+
reducedDay: number;
|
|
25
|
+
reducedMonth: number;
|
|
26
|
+
reducedYear1: number;
|
|
27
|
+
reducedYear2: number;
|
|
28
|
+
};
|
|
29
|
+
syntheses: {
|
|
30
|
+
dayMonthSynthesis: number;
|
|
31
|
+
yearSynthesis: number;
|
|
32
|
+
reducedDayMonthSynthesis: number;
|
|
33
|
+
reducedYearSynthesis: number;
|
|
34
|
+
finalSynthesis: number;
|
|
35
|
+
};
|
|
36
|
+
lifePath: number;
|
|
37
|
+
/**
|
|
38
|
+
* Last three syntheses
|
|
39
|
+
*/
|
|
40
|
+
personalMythologyNumbers: number[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Calculate the Kaabalistic life path number based on a birth date.
|
|
44
|
+
* Note: This method produces more master numbers and never produces life path 2s (or any life path that ends with 0 like 10, 20, 30, etc.)
|
|
45
|
+
*/
|
|
46
|
+
declare function calculateKaabalisticLifePath(birthDate: Date): KaabalisticLifePathResult;
|
|
47
|
+
type StraightAcrossReductionLifePathResult = {
|
|
48
|
+
lifePath: number;
|
|
49
|
+
reductionSteps: number[];
|
|
50
|
+
};
|
|
4
51
|
/**
|
|
5
|
-
* Calculate the life path number based on a birth date
|
|
6
|
-
* @param birthDate - Birth date as a Date object
|
|
7
|
-
* @returns Life path number (1-9, 11, 22, or 33)
|
|
52
|
+
* Calculate the traditional straight across reduction life path number based on a birth date.
|
|
8
53
|
*/
|
|
9
|
-
declare function
|
|
54
|
+
declare function calculateStraightAcrossReductionLifePath(birthDate: Date): StraightAcrossReductionLifePathResult;
|
|
55
|
+
type DateEnergies = {
|
|
56
|
+
dayEnergy: ReducedValueWithSteps;
|
|
57
|
+
monthEnergy: ReducedValueWithSteps;
|
|
58
|
+
yearEnergy: ReducedValueWithSteps;
|
|
59
|
+
};
|
|
60
|
+
declare function getDateEnergies(birthDate: Date): DateEnergies;
|
|
61
|
+
type Challenges = {
|
|
62
|
+
day: number;
|
|
63
|
+
month: number;
|
|
64
|
+
year: number;
|
|
65
|
+
mainChallenge: number;
|
|
66
|
+
subChallenge1: number;
|
|
67
|
+
subChallenge2: number;
|
|
68
|
+
};
|
|
69
|
+
declare function calculateChallenges(birthDate: Date): Challenges;
|
|
10
70
|
declare const CYCLE_MEANINGS: {
|
|
11
71
|
title: string;
|
|
12
72
|
shortDescription: string;
|
|
@@ -36,6 +96,58 @@ interface CycleInfo {
|
|
|
36
96
|
daysInMonthlyCycle: number;
|
|
37
97
|
totalDays: number;
|
|
38
98
|
}
|
|
39
|
-
declare
|
|
99
|
+
declare function calculateCycles(startDate: Date, today: Date): CycleInfo;
|
|
100
|
+
type FibonacciCycle = {
|
|
101
|
+
currentAge: number;
|
|
102
|
+
cycle1: ReducedValueWithSteps;
|
|
103
|
+
cycle2: ReducedValueWithSteps;
|
|
104
|
+
cycle3: ReducedValueWithSteps;
|
|
105
|
+
cycle4: ReducedValueWithSteps;
|
|
106
|
+
cycle5: ReducedValueWithSteps;
|
|
107
|
+
cycle6: ReducedValueWithSteps;
|
|
108
|
+
cycle7: ReducedValueWithSteps;
|
|
109
|
+
};
|
|
110
|
+
declare function calculateFibonacciCycle(birthDate: Date, today: Date): FibonacciCycle;
|
|
111
|
+
type PersonalPeriod = {
|
|
112
|
+
startMonth: number;
|
|
113
|
+
endMonth: number;
|
|
114
|
+
value: ReducedValueWithSteps;
|
|
115
|
+
};
|
|
116
|
+
type PersonalMonth = {
|
|
117
|
+
month: number;
|
|
118
|
+
value: ReducedValueWithSteps;
|
|
119
|
+
};
|
|
120
|
+
type PersonalCycles = {
|
|
121
|
+
personalYear: ReducedValueWithSteps;
|
|
122
|
+
personalPeriods: [PersonalPeriod, PersonalPeriod, PersonalPeriod];
|
|
123
|
+
personalMonths: [
|
|
124
|
+
PersonalMonth,
|
|
125
|
+
PersonalMonth,
|
|
126
|
+
PersonalMonth,
|
|
127
|
+
PersonalMonth,
|
|
128
|
+
PersonalMonth,
|
|
129
|
+
PersonalMonth,
|
|
130
|
+
PersonalMonth,
|
|
131
|
+
PersonalMonth,
|
|
132
|
+
PersonalMonth,
|
|
133
|
+
PersonalMonth,
|
|
134
|
+
PersonalMonth,
|
|
135
|
+
PersonalMonth,
|
|
136
|
+
PersonalMonth
|
|
137
|
+
];
|
|
138
|
+
currentPersonalPeriod: number;
|
|
139
|
+
currentPersonalMonth: number;
|
|
140
|
+
currentAge: number;
|
|
141
|
+
lifePath: number;
|
|
142
|
+
soulNumber?: ReducedValueWithSteps;
|
|
143
|
+
yearUsedOnCalculations: number;
|
|
144
|
+
};
|
|
145
|
+
declare function calculatePersonalYear(birthDate: Date, today?: Date): ReducedValueWithSteps;
|
|
146
|
+
declare function calculatePersonalPeriods(birthDate: Date, yearToUse: number, lifePath: number, soulNumber: number, currentAge: number): [PersonalPeriod, PersonalPeriod, PersonalPeriod];
|
|
147
|
+
declare function calculatePersonalMonths(birthDate: Date, personalYear: ReducedValueWithSteps, today: Date): {
|
|
148
|
+
personalMonths: PersonalCycles["personalMonths"];
|
|
149
|
+
currentPersonalMonthIndex: number;
|
|
150
|
+
};
|
|
151
|
+
declare function calculatePersonalCycles(birthDate: Date, today: Date | undefined, firstName: string): PersonalCycles;
|
|
40
152
|
|
|
41
|
-
export { CYCLE_MEANINGS, type Cycle, type CycleInfo, calculateCycles,
|
|
153
|
+
export { CYCLE_MEANINGS, type Challenges, type Cycle, type CycleInfo, type DateEnergies, type FibonacciCycle, type KaabalisticLifePathResult, MASTER_NUMBERS, type PersonalCycles, type PersonalMonth, type PersonalPeriod, type ReducedValueWithSteps, type StraightAcrossReductionLifePathResult, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps };
|
|
@@ -1,12 +1,72 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Numerology calculations
|
|
3
3
|
*/
|
|
4
|
+
type ReducedValueWithSteps = {
|
|
5
|
+
reducedValue: number;
|
|
6
|
+
reductionSteps: number[];
|
|
7
|
+
};
|
|
8
|
+
declare const MASTER_NUMBERS: number[];
|
|
9
|
+
declare function isMasterNumber(n: number): boolean;
|
|
10
|
+
declare function reduceToSingle(n: number, options?: {
|
|
11
|
+
preserveMasters?: boolean;
|
|
12
|
+
}): number;
|
|
13
|
+
declare function reduceToSingleWithSteps(n: number, options?: {
|
|
14
|
+
preserveMasters?: boolean;
|
|
15
|
+
}): ReducedValueWithSteps;
|
|
16
|
+
type KaabalisticLifePathResult = {
|
|
17
|
+
parts: {
|
|
18
|
+
day: string;
|
|
19
|
+
month: string;
|
|
20
|
+
year1: string;
|
|
21
|
+
year2: string;
|
|
22
|
+
};
|
|
23
|
+
reducedParts: {
|
|
24
|
+
reducedDay: number;
|
|
25
|
+
reducedMonth: number;
|
|
26
|
+
reducedYear1: number;
|
|
27
|
+
reducedYear2: number;
|
|
28
|
+
};
|
|
29
|
+
syntheses: {
|
|
30
|
+
dayMonthSynthesis: number;
|
|
31
|
+
yearSynthesis: number;
|
|
32
|
+
reducedDayMonthSynthesis: number;
|
|
33
|
+
reducedYearSynthesis: number;
|
|
34
|
+
finalSynthesis: number;
|
|
35
|
+
};
|
|
36
|
+
lifePath: number;
|
|
37
|
+
/**
|
|
38
|
+
* Last three syntheses
|
|
39
|
+
*/
|
|
40
|
+
personalMythologyNumbers: number[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Calculate the Kaabalistic life path number based on a birth date.
|
|
44
|
+
* Note: This method produces more master numbers and never produces life path 2s (or any life path that ends with 0 like 10, 20, 30, etc.)
|
|
45
|
+
*/
|
|
46
|
+
declare function calculateKaabalisticLifePath(birthDate: Date): KaabalisticLifePathResult;
|
|
47
|
+
type StraightAcrossReductionLifePathResult = {
|
|
48
|
+
lifePath: number;
|
|
49
|
+
reductionSteps: number[];
|
|
50
|
+
};
|
|
4
51
|
/**
|
|
5
|
-
* Calculate the life path number based on a birth date
|
|
6
|
-
* @param birthDate - Birth date as a Date object
|
|
7
|
-
* @returns Life path number (1-9, 11, 22, or 33)
|
|
52
|
+
* Calculate the traditional straight across reduction life path number based on a birth date.
|
|
8
53
|
*/
|
|
9
|
-
declare function
|
|
54
|
+
declare function calculateStraightAcrossReductionLifePath(birthDate: Date): StraightAcrossReductionLifePathResult;
|
|
55
|
+
type DateEnergies = {
|
|
56
|
+
dayEnergy: ReducedValueWithSteps;
|
|
57
|
+
monthEnergy: ReducedValueWithSteps;
|
|
58
|
+
yearEnergy: ReducedValueWithSteps;
|
|
59
|
+
};
|
|
60
|
+
declare function getDateEnergies(birthDate: Date): DateEnergies;
|
|
61
|
+
type Challenges = {
|
|
62
|
+
day: number;
|
|
63
|
+
month: number;
|
|
64
|
+
year: number;
|
|
65
|
+
mainChallenge: number;
|
|
66
|
+
subChallenge1: number;
|
|
67
|
+
subChallenge2: number;
|
|
68
|
+
};
|
|
69
|
+
declare function calculateChallenges(birthDate: Date): Challenges;
|
|
10
70
|
declare const CYCLE_MEANINGS: {
|
|
11
71
|
title: string;
|
|
12
72
|
shortDescription: string;
|
|
@@ -36,6 +96,58 @@ interface CycleInfo {
|
|
|
36
96
|
daysInMonthlyCycle: number;
|
|
37
97
|
totalDays: number;
|
|
38
98
|
}
|
|
39
|
-
declare
|
|
99
|
+
declare function calculateCycles(startDate: Date, today: Date): CycleInfo;
|
|
100
|
+
type FibonacciCycle = {
|
|
101
|
+
currentAge: number;
|
|
102
|
+
cycle1: ReducedValueWithSteps;
|
|
103
|
+
cycle2: ReducedValueWithSteps;
|
|
104
|
+
cycle3: ReducedValueWithSteps;
|
|
105
|
+
cycle4: ReducedValueWithSteps;
|
|
106
|
+
cycle5: ReducedValueWithSteps;
|
|
107
|
+
cycle6: ReducedValueWithSteps;
|
|
108
|
+
cycle7: ReducedValueWithSteps;
|
|
109
|
+
};
|
|
110
|
+
declare function calculateFibonacciCycle(birthDate: Date, today: Date): FibonacciCycle;
|
|
111
|
+
type PersonalPeriod = {
|
|
112
|
+
startMonth: number;
|
|
113
|
+
endMonth: number;
|
|
114
|
+
value: ReducedValueWithSteps;
|
|
115
|
+
};
|
|
116
|
+
type PersonalMonth = {
|
|
117
|
+
month: number;
|
|
118
|
+
value: ReducedValueWithSteps;
|
|
119
|
+
};
|
|
120
|
+
type PersonalCycles = {
|
|
121
|
+
personalYear: ReducedValueWithSteps;
|
|
122
|
+
personalPeriods: [PersonalPeriod, PersonalPeriod, PersonalPeriod];
|
|
123
|
+
personalMonths: [
|
|
124
|
+
PersonalMonth,
|
|
125
|
+
PersonalMonth,
|
|
126
|
+
PersonalMonth,
|
|
127
|
+
PersonalMonth,
|
|
128
|
+
PersonalMonth,
|
|
129
|
+
PersonalMonth,
|
|
130
|
+
PersonalMonth,
|
|
131
|
+
PersonalMonth,
|
|
132
|
+
PersonalMonth,
|
|
133
|
+
PersonalMonth,
|
|
134
|
+
PersonalMonth,
|
|
135
|
+
PersonalMonth,
|
|
136
|
+
PersonalMonth
|
|
137
|
+
];
|
|
138
|
+
currentPersonalPeriod: number;
|
|
139
|
+
currentPersonalMonth: number;
|
|
140
|
+
currentAge: number;
|
|
141
|
+
lifePath: number;
|
|
142
|
+
soulNumber?: ReducedValueWithSteps;
|
|
143
|
+
yearUsedOnCalculations: number;
|
|
144
|
+
};
|
|
145
|
+
declare function calculatePersonalYear(birthDate: Date, today?: Date): ReducedValueWithSteps;
|
|
146
|
+
declare function calculatePersonalPeriods(birthDate: Date, yearToUse: number, lifePath: number, soulNumber: number, currentAge: number): [PersonalPeriod, PersonalPeriod, PersonalPeriod];
|
|
147
|
+
declare function calculatePersonalMonths(birthDate: Date, personalYear: ReducedValueWithSteps, today: Date): {
|
|
148
|
+
personalMonths: PersonalCycles["personalMonths"];
|
|
149
|
+
currentPersonalMonthIndex: number;
|
|
150
|
+
};
|
|
151
|
+
declare function calculatePersonalCycles(birthDate: Date, today: Date | undefined, firstName: string): PersonalCycles;
|
|
40
152
|
|
|
41
|
-
export { CYCLE_MEANINGS, type Cycle, type CycleInfo, calculateCycles,
|
|
153
|
+
export { CYCLE_MEANINGS, type Challenges, type Cycle, type CycleInfo, type DateEnergies, type FibonacciCycle, type KaabalisticLifePathResult, MASTER_NUMBERS, type PersonalCycles, type PersonalMonth, type PersonalPeriod, type ReducedValueWithSteps, type StraightAcrossReductionLifePathResult, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps };
|
package/dist/numerology/index.js
CHANGED
|
@@ -1,21 +1,71 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4IMODQPK_js = require('../chunk-4IMODQPK.js');
|
|
4
|
+
require('../chunk-JJ76YVMI.js');
|
|
5
|
+
require('../chunk-7CAIYKIO.js');
|
|
4
6
|
require('../chunk-2TUXWMP5.js');
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
Object.defineProperty(exports, "CYCLE_MEANINGS", {
|
|
9
11
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk4IMODQPK_js.CYCLE_MEANINGS; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "MASTER_NUMBERS", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunk4IMODQPK_js.MASTER_NUMBERS; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "calculateChallenges", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunk4IMODQPK_js.calculateChallenges; }
|
|
11
21
|
});
|
|
12
22
|
Object.defineProperty(exports, "calculateCycles", {
|
|
13
23
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk4IMODQPK_js.calculateCycles; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "calculateFibonacciCycle", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunk4IMODQPK_js.calculateFibonacciCycle; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "calculateKaabalisticLifePath", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunk4IMODQPK_js.calculateKaabalisticLifePath; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "calculatePersonalCycles", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalCycles; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "calculatePersonalMonths", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalMonths; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "calculatePersonalPeriods", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalPeriods; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "calculatePersonalYear", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunk4IMODQPK_js.calculatePersonalYear; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "calculateStraightAcrossReductionLifePath", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunk4IMODQPK_js.calculateStraightAcrossReductionLifePath; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "getDateEnergies", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunk4IMODQPK_js.getDateEnergies; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "isMasterNumber", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunk4IMODQPK_js.isMasterNumber; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "reduceToSingle", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunk4IMODQPK_js.reduceToSingle; }
|
|
15
65
|
});
|
|
16
|
-
Object.defineProperty(exports, "
|
|
66
|
+
Object.defineProperty(exports, "reduceToSingleWithSteps", {
|
|
17
67
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk4IMODQPK_js.reduceToSingleWithSteps; }
|
|
19
69
|
});
|
|
20
70
|
//# sourceMappingURL=index.js.map
|
|
21
71
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { CYCLE_MEANINGS, calculateCycles,
|
|
1
|
+
export { CYCLE_MEANINGS, MASTER_NUMBERS, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from '../chunk-6DHXZLYH.mjs';
|
|
2
|
+
import '../chunk-5ISXTWFX.mjs';
|
|
3
|
+
import '../chunk-3LUQXNH6.mjs';
|
|
2
4
|
import '../chunk-PY5SMMJB.mjs';
|
|
3
5
|
//# sourceMappingURL=index.mjs.map
|
|
4
6
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaabalah",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.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",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsup",
|
|
56
56
|
"dev": "tsup --watch",
|
|
57
|
-
"test": "vitest run",
|
|
58
|
-
"test:watch": "vitest watch",
|
|
59
|
-
"test:coverage": "vitest run --coverage",
|
|
60
|
-
"test:ui": "vitest --ui",
|
|
57
|
+
"test": "vitest run --silent",
|
|
58
|
+
"test:watch": "vitest watch --silent",
|
|
59
|
+
"test:coverage": "vitest run --coverage --silent",
|
|
60
|
+
"test:ui": "vitest --ui --silent",
|
|
61
61
|
"prepare-browser-test": "cp wasm/build/swisseph.wasm examples/ && cp -r ephe examples/",
|
|
62
62
|
"prepublishOnly": "npm run build && mkdir -p dist/wasm/build/ && cp dist/swisseph* dist/wasm/build/"
|
|
63
63
|
},
|