ciphers-gematria 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/LICENSE.txt +21 -0
- package/README.md +69 -0
- package/package.json +33 -0
- package/src/calcul.js +166 -0
- package/src/ciphers.js +781 -0
- package/src/index.js +2 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Samy_ch
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Ciphers Gematria
|
|
2
|
+
|
|
3
|
+
**Ciphers Gematria** is a JavaScript package for calculating **gematria values** using multiple systems (Ordinal, Sumerian, Chaldean, Latin, Satanic, Fibonacci, and more).
|
|
4
|
+
It supports **ESM**, is **tree-shakable**, and allows users to import **all ciphers at once** or **just a single cipher**.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🚀 Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install ciphers-gematria
|
|
12
|
+
# or with yarn
|
|
13
|
+
yarn add ciphers-gematria
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Calculate all ciphers
|
|
17
|
+
|
|
18
|
+
```javascript
|
|
19
|
+
import { ciphers } from 'ciphers-gematria';
|
|
20
|
+
|
|
21
|
+
const result = ciphers("hello");
|
|
22
|
+
console.log(result);
|
|
23
|
+
|
|
24
|
+
// Output:
|
|
25
|
+
{
|
|
26
|
+
Ordinal: 52,
|
|
27
|
+
Reduction: 25,
|
|
28
|
+
Reverse: 83,
|
|
29
|
+
ReverseReduction: 20,
|
|
30
|
+
Standard: 133,
|
|
31
|
+
Latin: 103,
|
|
32
|
+
Sumerian: 312,
|
|
33
|
+
ReverseSumerian: 498,
|
|
34
|
+
CapitalsMixed: 104,
|
|
35
|
+
CapitalsAdded: 52,
|
|
36
|
+
ReverseCapsMixed: 166,
|
|
37
|
+
ReverseCapsAdded: 83,
|
|
38
|
+
ReverseStandard: 650,
|
|
39
|
+
Satanic: 227,
|
|
40
|
+
ReverseSatanic: 258,
|
|
41
|
+
SingleReduction: 25,
|
|
42
|
+
KvException: 25,
|
|
43
|
+
SkvException: 25,
|
|
44
|
+
ReverseSingleReduction: 29,
|
|
45
|
+
EpException: 38,
|
|
46
|
+
EhpException: 47,
|
|
47
|
+
Primes: 151,
|
|
48
|
+
Trigonal: 327,
|
|
49
|
+
Squares: 602,
|
|
50
|
+
Fibonacci: 458,
|
|
51
|
+
ReversePrimes: 277,
|
|
52
|
+
ReverseTrigonal: 761,
|
|
53
|
+
ReverseSquares: 1439,
|
|
54
|
+
Chaldean: 23,
|
|
55
|
+
Septenary: 17,
|
|
56
|
+
Keypad: 23
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Calculate a single cipher
|
|
63
|
+
|
|
64
|
+
```javascript
|
|
65
|
+
import { sumerian, chaldean } from 'ciphers-gematria';
|
|
66
|
+
|
|
67
|
+
console.log(sumerian('hello')); // 312
|
|
68
|
+
console.log(chaldean('hello')); // 23
|
|
69
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ciphers-gematria",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "gematria calculator (Ordinal, Sumerian, Chaldean, Primes, etc.)",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./src/index.js",
|
|
9
|
+
"./ciphers": "./src/calcul.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"src/",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE.txt"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"ciphers",
|
|
18
|
+
"gematria",
|
|
19
|
+
"esoteric",
|
|
20
|
+
"numerology"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/Samy572/ciphers-gematrie.git"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/Samy572/ciphers-gematrie/issues"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/Samy572/ciphers-gematrie#readme",
|
|
30
|
+
"author": "Samy_ch",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"scripts": {}
|
|
33
|
+
}
|
package/src/calcul.js
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import {
|
|
2
|
+
standardTable,
|
|
3
|
+
standardExtendedTable,
|
|
4
|
+
latinTable,
|
|
5
|
+
capitalsMixedTable,
|
|
6
|
+
reverseCapitalsMixedTable,
|
|
7
|
+
lowercaseTable,
|
|
8
|
+
uppercaseTable,
|
|
9
|
+
reverseStandardExtendedTable,
|
|
10
|
+
satanicTable,
|
|
11
|
+
reverseSatanicTable,
|
|
12
|
+
singleReductionTable,
|
|
13
|
+
kvExceptionTable,
|
|
14
|
+
skvExceptionTable,
|
|
15
|
+
reverseSingleReductionTable,
|
|
16
|
+
epExceptionTable,
|
|
17
|
+
ehpExceptionTable,
|
|
18
|
+
primesTable,
|
|
19
|
+
trigonalTable,
|
|
20
|
+
squaresTable,
|
|
21
|
+
fibonacciTable,
|
|
22
|
+
reversePrimesTable,
|
|
23
|
+
reverseTrigonalTable,
|
|
24
|
+
septenaryTable,
|
|
25
|
+
reverseSquaresTable,
|
|
26
|
+
chaldeanTable,
|
|
27
|
+
keypadTable,
|
|
28
|
+
} from './ciphers.js';
|
|
29
|
+
|
|
30
|
+
// Reverse Standard
|
|
31
|
+
const reverseTable = {};
|
|
32
|
+
for (const [letter, value] of Object.entries(standardTable)) {
|
|
33
|
+
reverseTable[letter] = 27 - value;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Sumerian (Ordinal * 6)
|
|
37
|
+
const sumerianTable = {};
|
|
38
|
+
for (const [letter, value] of Object.entries(standardTable)) {
|
|
39
|
+
sumerianTable[letter] = value * 6;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Reverse Sumerian (Reverse * 6)
|
|
43
|
+
const reverseSumerianTable = {};
|
|
44
|
+
for (const [letter, value] of Object.entries(reverseTable)) {
|
|
45
|
+
reverseSumerianTable[letter] = value * 6;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Helper to clean text
|
|
49
|
+
function cleanText(text) {
|
|
50
|
+
return text.toUpperCase().replace(/[^A-Z]/g, '');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Reduce number
|
|
54
|
+
function reduceNumber(n) {
|
|
55
|
+
return ((n - 1) % 9) + 1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Calculate value
|
|
59
|
+
function calcValue(text, table, reduce = false) {
|
|
60
|
+
const letters = cleanText(text).split('');
|
|
61
|
+
let sum = 0;
|
|
62
|
+
for (const char of letters) {
|
|
63
|
+
let val = table[char] || 0;
|
|
64
|
+
if (reduce) val = reduceNumber(val);
|
|
65
|
+
sum += val;
|
|
66
|
+
}
|
|
67
|
+
return sum;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Capital added
|
|
71
|
+
function capitalsAdded(text) {
|
|
72
|
+
let sum = 0;
|
|
73
|
+
|
|
74
|
+
for (const char of text) {
|
|
75
|
+
if (lowercaseTable[char]) {
|
|
76
|
+
sum += lowercaseTable[char];
|
|
77
|
+
} else if (uppercaseTable[char]) {
|
|
78
|
+
sum += uppercaseTable[char];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return sum;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export const ordinal = (text) => calcValue(text, standardTable);
|
|
85
|
+
export const reduction = (text) => calcValue(text, standardTable, true);
|
|
86
|
+
|
|
87
|
+
export const reverseOrdinal = (text) => calcValue(text, reverseTable);
|
|
88
|
+
|
|
89
|
+
export const reverseReduction = (text) => calcValue(text, reverseTable, true);
|
|
90
|
+
|
|
91
|
+
export const standard = (text) => calcValue(text, standardExtendedTable);
|
|
92
|
+
export const latin = (text) => calcValue(text, latinTable);
|
|
93
|
+
export const sumerian = (text) => calcValue(text, sumerianTable);
|
|
94
|
+
export const reverseSumerian = (text) => calcValue(text, reverseSumerianTable);
|
|
95
|
+
|
|
96
|
+
export const capitalsMixed = (text) => calcValue(text, capitalsMixedTable);
|
|
97
|
+
export const capitalsAdd = (text) => capitalsAdded(text);
|
|
98
|
+
export const reverseCapsMixed = (text) =>
|
|
99
|
+
calcValue(text, reverseCapitalsMixedTable);
|
|
100
|
+
export const reverseCapsAdded = (text) => calcValue(text, reverseTable);
|
|
101
|
+
|
|
102
|
+
export const reverseStandard = (text) =>
|
|
103
|
+
calcValue(text, reverseStandardExtendedTable);
|
|
104
|
+
export const satanic = (text) => calcValue(text, satanicTable);
|
|
105
|
+
export const reverseSatanic = (text) => calcValue(text, reverseSatanicTable);
|
|
106
|
+
export const singleReduction = (text) => calcValue(text, singleReductionTable);
|
|
107
|
+
|
|
108
|
+
export const kvException = (text) => calcValue(text, kvExceptionTable);
|
|
109
|
+
export const skvException = (text) => calcValue(text, skvExceptionTable);
|
|
110
|
+
export const reverseSingleReduction = (text) =>
|
|
111
|
+
calcValue(text, reverseSingleReductionTable);
|
|
112
|
+
export const epException = (text) => calcValue(text, epExceptionTable);
|
|
113
|
+
export const ehpException = (text) => calcValue(text, ehpExceptionTable);
|
|
114
|
+
export const primes = (text) => calcValue(text, primesTable);
|
|
115
|
+
export const trigonal = (text) => calcValue(text, trigonalTable);
|
|
116
|
+
export const squares = (text) => calcValue(text, squaresTable);
|
|
117
|
+
export const fibonacci = (text) => calcValue(text, fibonacciTable);
|
|
118
|
+
export const reversePrimes = (text) => calcValue(text, reversePrimesTable);
|
|
119
|
+
export const reverseTrigonal = (text) => calcValue(text, reverseTrigonalTable);
|
|
120
|
+
export const septenary = (text) => calcValue(text, septenaryTable);
|
|
121
|
+
export const reverseSquares = (text) => calcValue(text, reverseSquaresTable);
|
|
122
|
+
export const chaldean = (text) => calcValue(text, chaldeanTable);
|
|
123
|
+
export const keypad = (text) => calcValue(text, keypadTable);
|
|
124
|
+
|
|
125
|
+
export function ciphers(text) {
|
|
126
|
+
return {
|
|
127
|
+
Ordinal: ordinal(text),
|
|
128
|
+
Reduction: reduction(text),
|
|
129
|
+
reverseOrdinal: reverseOrdinal(text),
|
|
130
|
+
ReverseReduction: reverseReduction(text),
|
|
131
|
+
|
|
132
|
+
Standard: standard(text),
|
|
133
|
+
Latin: latin(text),
|
|
134
|
+
Sumerian: sumerian(text),
|
|
135
|
+
ReverseSumerian: reverseSumerian(text),
|
|
136
|
+
|
|
137
|
+
CapitalsMixed: capitalsMixed(text),
|
|
138
|
+
CapitalsAdded: capitalsAdd(text),
|
|
139
|
+
ReverseCapsMixed: reverseCapsMixed(text),
|
|
140
|
+
ReverseCapsAdded: reverseCapsAdded(text),
|
|
141
|
+
|
|
142
|
+
ReverseStandard: reverseStandard(text),
|
|
143
|
+
Satanic: satanic(text),
|
|
144
|
+
ReverseSatanic: reverseSatanic(text),
|
|
145
|
+
SingleReduction: singleReduction(text),
|
|
146
|
+
|
|
147
|
+
KvException: kvException(text),
|
|
148
|
+
SkvException: skvException(text),
|
|
149
|
+
ReverseSingleReduction: reverseSingleReduction(text),
|
|
150
|
+
EpException: epException(text),
|
|
151
|
+
|
|
152
|
+
EhpException: ehpException(text),
|
|
153
|
+
Primes: primes(text),
|
|
154
|
+
Trigonal: trigonal(text),
|
|
155
|
+
Squares: squares(text),
|
|
156
|
+
|
|
157
|
+
Fibonacci: fibonacci(text),
|
|
158
|
+
ReversePrimes: reversePrimes(text),
|
|
159
|
+
ReverseTrigonal: reverseTrigonal(text),
|
|
160
|
+
|
|
161
|
+
ReverseSquares: reverseSquares(text),
|
|
162
|
+
Chaldean: chaldean(text),
|
|
163
|
+
Septenary: septenary(text),
|
|
164
|
+
Keypad: keypad(text),
|
|
165
|
+
};
|
|
166
|
+
}
|
package/src/ciphers.js
ADDED
|
@@ -0,0 +1,781 @@
|
|
|
1
|
+
const standardTable = {
|
|
2
|
+
A: 1,
|
|
3
|
+
B: 2,
|
|
4
|
+
C: 3,
|
|
5
|
+
D: 4,
|
|
6
|
+
E: 5,
|
|
7
|
+
F: 6,
|
|
8
|
+
G: 7,
|
|
9
|
+
H: 8,
|
|
10
|
+
I: 9,
|
|
11
|
+
J: 10,
|
|
12
|
+
K: 11,
|
|
13
|
+
L: 12,
|
|
14
|
+
M: 13,
|
|
15
|
+
N: 14,
|
|
16
|
+
O: 15,
|
|
17
|
+
P: 16,
|
|
18
|
+
Q: 17,
|
|
19
|
+
R: 18,
|
|
20
|
+
S: 19,
|
|
21
|
+
T: 20,
|
|
22
|
+
U: 21,
|
|
23
|
+
V: 22,
|
|
24
|
+
W: 23,
|
|
25
|
+
X: 24,
|
|
26
|
+
Y: 25,
|
|
27
|
+
Z: 26,
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const standardExtendedTable = {
|
|
31
|
+
A: 1,
|
|
32
|
+
B: 2,
|
|
33
|
+
C: 3,
|
|
34
|
+
D: 4,
|
|
35
|
+
E: 5,
|
|
36
|
+
F: 6,
|
|
37
|
+
G: 7,
|
|
38
|
+
H: 8,
|
|
39
|
+
I: 9,
|
|
40
|
+
J: 10,
|
|
41
|
+
K: 20,
|
|
42
|
+
L: 30,
|
|
43
|
+
M: 40,
|
|
44
|
+
N: 50,
|
|
45
|
+
O: 60,
|
|
46
|
+
P: 70,
|
|
47
|
+
Q: 80,
|
|
48
|
+
R: 90,
|
|
49
|
+
S: 100,
|
|
50
|
+
T: 200,
|
|
51
|
+
U: 300,
|
|
52
|
+
V: 400,
|
|
53
|
+
W: 500,
|
|
54
|
+
X: 600,
|
|
55
|
+
Y: 700,
|
|
56
|
+
Z: 800,
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
const latinTable = {
|
|
60
|
+
A: 1,
|
|
61
|
+
B: 2,
|
|
62
|
+
C: 3,
|
|
63
|
+
D: 4,
|
|
64
|
+
E: 5,
|
|
65
|
+
F: 6,
|
|
66
|
+
G: 7,
|
|
67
|
+
H: 8,
|
|
68
|
+
I: 9,
|
|
69
|
+
J: 600,
|
|
70
|
+
K: 10,
|
|
71
|
+
L: 20,
|
|
72
|
+
M: 30,
|
|
73
|
+
N: 40,
|
|
74
|
+
O: 50,
|
|
75
|
+
P: 60,
|
|
76
|
+
Q: 70,
|
|
77
|
+
R: 80,
|
|
78
|
+
S: 90,
|
|
79
|
+
T: 100,
|
|
80
|
+
U: 200,
|
|
81
|
+
V: 700,
|
|
82
|
+
W: 900,
|
|
83
|
+
X: 300,
|
|
84
|
+
Y: 400,
|
|
85
|
+
Z: 500,
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const capitalsMixedTable = {
|
|
89
|
+
A: 2,
|
|
90
|
+
B: 4,
|
|
91
|
+
C: 6,
|
|
92
|
+
D: 8,
|
|
93
|
+
E: 10,
|
|
94
|
+
F: 12,
|
|
95
|
+
G: 14,
|
|
96
|
+
H: 16,
|
|
97
|
+
I: 18,
|
|
98
|
+
J: 20,
|
|
99
|
+
K: 22,
|
|
100
|
+
L: 24,
|
|
101
|
+
M: 26,
|
|
102
|
+
N: 28,
|
|
103
|
+
O: 30,
|
|
104
|
+
P: 32,
|
|
105
|
+
Q: 34,
|
|
106
|
+
R: 36,
|
|
107
|
+
S: 38,
|
|
108
|
+
T: 40,
|
|
109
|
+
U: 42,
|
|
110
|
+
V: 44,
|
|
111
|
+
W: 46,
|
|
112
|
+
X: 48,
|
|
113
|
+
Y: 50,
|
|
114
|
+
Z: 52,
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const reverseCapitalsMixedTable = {
|
|
118
|
+
A: 52,
|
|
119
|
+
B: 50,
|
|
120
|
+
C: 48,
|
|
121
|
+
D: 46,
|
|
122
|
+
E: 44,
|
|
123
|
+
F: 42,
|
|
124
|
+
G: 40,
|
|
125
|
+
H: 38,
|
|
126
|
+
I: 36,
|
|
127
|
+
J: 34,
|
|
128
|
+
K: 32,
|
|
129
|
+
L: 30,
|
|
130
|
+
M: 28,
|
|
131
|
+
N: 26,
|
|
132
|
+
O: 24,
|
|
133
|
+
P: 22,
|
|
134
|
+
Q: 20,
|
|
135
|
+
R: 18,
|
|
136
|
+
S: 16,
|
|
137
|
+
T: 14,
|
|
138
|
+
U: 12,
|
|
139
|
+
V: 10,
|
|
140
|
+
W: 8,
|
|
141
|
+
X: 6,
|
|
142
|
+
Y: 4,
|
|
143
|
+
Z: 2,
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
const lowercaseTable = {
|
|
147
|
+
a: 1,
|
|
148
|
+
b: 2,
|
|
149
|
+
c: 3,
|
|
150
|
+
d: 4,
|
|
151
|
+
e: 5,
|
|
152
|
+
f: 6,
|
|
153
|
+
g: 7,
|
|
154
|
+
h: 8,
|
|
155
|
+
i: 9,
|
|
156
|
+
j: 10,
|
|
157
|
+
k: 11,
|
|
158
|
+
l: 12,
|
|
159
|
+
m: 13,
|
|
160
|
+
n: 14,
|
|
161
|
+
o: 15,
|
|
162
|
+
p: 16,
|
|
163
|
+
q: 17,
|
|
164
|
+
r: 18,
|
|
165
|
+
s: 19,
|
|
166
|
+
t: 20,
|
|
167
|
+
u: 21,
|
|
168
|
+
v: 22,
|
|
169
|
+
w: 23,
|
|
170
|
+
x: 24,
|
|
171
|
+
y: 25,
|
|
172
|
+
z: 26,
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
const uppercaseTable = {
|
|
176
|
+
A: 27,
|
|
177
|
+
B: 28,
|
|
178
|
+
C: 29,
|
|
179
|
+
D: 30,
|
|
180
|
+
E: 31,
|
|
181
|
+
F: 32,
|
|
182
|
+
G: 33,
|
|
183
|
+
H: 34,
|
|
184
|
+
I: 35,
|
|
185
|
+
J: 36,
|
|
186
|
+
K: 37,
|
|
187
|
+
L: 38,
|
|
188
|
+
M: 39,
|
|
189
|
+
N: 40,
|
|
190
|
+
O: 41,
|
|
191
|
+
P: 42,
|
|
192
|
+
Q: 43,
|
|
193
|
+
R: 44,
|
|
194
|
+
S: 45,
|
|
195
|
+
T: 46,
|
|
196
|
+
U: 47,
|
|
197
|
+
V: 48,
|
|
198
|
+
W: 49,
|
|
199
|
+
X: 50,
|
|
200
|
+
Y: 51,
|
|
201
|
+
Z: 52,
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
const reverseStandardExtendedTable = {
|
|
205
|
+
Z: 1,
|
|
206
|
+
Y: 2,
|
|
207
|
+
X: 3,
|
|
208
|
+
W: 4,
|
|
209
|
+
V: 5,
|
|
210
|
+
U: 6,
|
|
211
|
+
T: 7,
|
|
212
|
+
S: 8,
|
|
213
|
+
R: 9,
|
|
214
|
+
Q: 10,
|
|
215
|
+
P: 20,
|
|
216
|
+
O: 30,
|
|
217
|
+
N: 40,
|
|
218
|
+
M: 50,
|
|
219
|
+
L: 60,
|
|
220
|
+
K: 70,
|
|
221
|
+
J: 80,
|
|
222
|
+
I: 90,
|
|
223
|
+
H: 100,
|
|
224
|
+
G: 200,
|
|
225
|
+
F: 300,
|
|
226
|
+
E: 400,
|
|
227
|
+
D: 500,
|
|
228
|
+
C: 600,
|
|
229
|
+
B: 700,
|
|
230
|
+
A: 800,
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
const satanicTable = {
|
|
234
|
+
A: 36,
|
|
235
|
+
B: 37,
|
|
236
|
+
C: 38,
|
|
237
|
+
D: 39,
|
|
238
|
+
E: 40,
|
|
239
|
+
F: 41,
|
|
240
|
+
G: 42,
|
|
241
|
+
H: 43,
|
|
242
|
+
I: 44,
|
|
243
|
+
J: 45,
|
|
244
|
+
K: 46,
|
|
245
|
+
L: 47,
|
|
246
|
+
M: 48,
|
|
247
|
+
N: 49,
|
|
248
|
+
O: 50,
|
|
249
|
+
P: 51,
|
|
250
|
+
Q: 52,
|
|
251
|
+
R: 53,
|
|
252
|
+
S: 54,
|
|
253
|
+
T: 55,
|
|
254
|
+
U: 56,
|
|
255
|
+
V: 57,
|
|
256
|
+
W: 58,
|
|
257
|
+
X: 59,
|
|
258
|
+
Y: 60,
|
|
259
|
+
Z: 61,
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
const reverseSatanicTable = {
|
|
263
|
+
Z: 36,
|
|
264
|
+
Y: 37,
|
|
265
|
+
X: 38,
|
|
266
|
+
W: 39,
|
|
267
|
+
V: 40,
|
|
268
|
+
U: 41,
|
|
269
|
+
T: 42,
|
|
270
|
+
S: 43,
|
|
271
|
+
R: 44,
|
|
272
|
+
Q: 45,
|
|
273
|
+
P: 46,
|
|
274
|
+
O: 47,
|
|
275
|
+
N: 48,
|
|
276
|
+
M: 49,
|
|
277
|
+
L: 50,
|
|
278
|
+
K: 51,
|
|
279
|
+
J: 52,
|
|
280
|
+
I: 53,
|
|
281
|
+
H: 54,
|
|
282
|
+
G: 55,
|
|
283
|
+
F: 56,
|
|
284
|
+
E: 57,
|
|
285
|
+
D: 58,
|
|
286
|
+
C: 59,
|
|
287
|
+
B: 60,
|
|
288
|
+
A: 61,
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
const singleReductionTable = {
|
|
292
|
+
A: 1,
|
|
293
|
+
B: 2,
|
|
294
|
+
C: 3,
|
|
295
|
+
D: 4,
|
|
296
|
+
E: 5,
|
|
297
|
+
F: 6,
|
|
298
|
+
G: 7,
|
|
299
|
+
H: 8,
|
|
300
|
+
I: 9,
|
|
301
|
+
J: 1,
|
|
302
|
+
K: 2,
|
|
303
|
+
L: 3,
|
|
304
|
+
M: 4,
|
|
305
|
+
N: 5,
|
|
306
|
+
O: 6,
|
|
307
|
+
P: 7,
|
|
308
|
+
Q: 8,
|
|
309
|
+
R: 9,
|
|
310
|
+
S: 10,
|
|
311
|
+
T: 2,
|
|
312
|
+
U: 3,
|
|
313
|
+
V: 4,
|
|
314
|
+
W: 5,
|
|
315
|
+
X: 6,
|
|
316
|
+
Y: 7,
|
|
317
|
+
Z: 8,
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
const kvExceptionTable = {
|
|
321
|
+
A: 1,
|
|
322
|
+
B: 2,
|
|
323
|
+
C: 3,
|
|
324
|
+
D: 4,
|
|
325
|
+
E: 5,
|
|
326
|
+
F: 6,
|
|
327
|
+
G: 7,
|
|
328
|
+
H: 8,
|
|
329
|
+
I: 9,
|
|
330
|
+
J: 1,
|
|
331
|
+
K: 11,
|
|
332
|
+
L: 3,
|
|
333
|
+
M: 4,
|
|
334
|
+
N: 5,
|
|
335
|
+
O: 6,
|
|
336
|
+
P: 7,
|
|
337
|
+
Q: 8,
|
|
338
|
+
R: 9,
|
|
339
|
+
S: 1,
|
|
340
|
+
T: 2,
|
|
341
|
+
U: 3,
|
|
342
|
+
V: 22,
|
|
343
|
+
W: 5,
|
|
344
|
+
X: 6,
|
|
345
|
+
Y: 7,
|
|
346
|
+
Z: 8,
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
const skvExceptionTable = {
|
|
350
|
+
A: 1,
|
|
351
|
+
B: 2,
|
|
352
|
+
C: 3,
|
|
353
|
+
D: 4,
|
|
354
|
+
E: 5,
|
|
355
|
+
F: 6,
|
|
356
|
+
G: 7,
|
|
357
|
+
H: 8,
|
|
358
|
+
I: 9,
|
|
359
|
+
J: 1,
|
|
360
|
+
K: 11,
|
|
361
|
+
L: 3,
|
|
362
|
+
M: 4,
|
|
363
|
+
N: 5,
|
|
364
|
+
O: 6,
|
|
365
|
+
P: 7,
|
|
366
|
+
Q: 8,
|
|
367
|
+
R: 9,
|
|
368
|
+
S: 10,
|
|
369
|
+
T: 2,
|
|
370
|
+
U: 3,
|
|
371
|
+
V: 22,
|
|
372
|
+
W: 5,
|
|
373
|
+
X: 6,
|
|
374
|
+
Y: 7,
|
|
375
|
+
Z: 8,
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
const reverseSingleReductionTable = {
|
|
379
|
+
A: 8,
|
|
380
|
+
B: 7,
|
|
381
|
+
C: 6,
|
|
382
|
+
D: 5,
|
|
383
|
+
E: 4,
|
|
384
|
+
F: 3,
|
|
385
|
+
G: 2,
|
|
386
|
+
H: 10,
|
|
387
|
+
I: 9,
|
|
388
|
+
J: 8,
|
|
389
|
+
K: 7,
|
|
390
|
+
L: 6,
|
|
391
|
+
M: 5,
|
|
392
|
+
N: 4,
|
|
393
|
+
O: 3,
|
|
394
|
+
P: 2,
|
|
395
|
+
Q: 1,
|
|
396
|
+
R: 9,
|
|
397
|
+
S: 8,
|
|
398
|
+
T: 7,
|
|
399
|
+
U: 6,
|
|
400
|
+
V: 5,
|
|
401
|
+
W: 4,
|
|
402
|
+
X: 3,
|
|
403
|
+
Y: 2,
|
|
404
|
+
Z: 1,
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
const epExceptionTable = {
|
|
408
|
+
A: 8,
|
|
409
|
+
B: 7,
|
|
410
|
+
C: 6,
|
|
411
|
+
D: 5,
|
|
412
|
+
E: 22,
|
|
413
|
+
F: 3,
|
|
414
|
+
G: 2,
|
|
415
|
+
H: 1,
|
|
416
|
+
I: 9,
|
|
417
|
+
J: 8,
|
|
418
|
+
K: 7,
|
|
419
|
+
L: 6,
|
|
420
|
+
M: 5,
|
|
421
|
+
N: 4,
|
|
422
|
+
O: 3,
|
|
423
|
+
P: 11,
|
|
424
|
+
Q: 1,
|
|
425
|
+
R: 9,
|
|
426
|
+
S: 8,
|
|
427
|
+
T: 7,
|
|
428
|
+
U: 6,
|
|
429
|
+
V: 5,
|
|
430
|
+
W: 4,
|
|
431
|
+
X: 3,
|
|
432
|
+
Y: 2,
|
|
433
|
+
Z: 1,
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
const ehpExceptionTable = {
|
|
437
|
+
A: 8,
|
|
438
|
+
B: 7,
|
|
439
|
+
C: 6,
|
|
440
|
+
D: 5,
|
|
441
|
+
E: 22,
|
|
442
|
+
F: 3,
|
|
443
|
+
G: 2,
|
|
444
|
+
H: 10,
|
|
445
|
+
I: 9,
|
|
446
|
+
J: 8,
|
|
447
|
+
K: 7,
|
|
448
|
+
L: 6,
|
|
449
|
+
M: 5,
|
|
450
|
+
N: 4,
|
|
451
|
+
O: 3,
|
|
452
|
+
P: 11,
|
|
453
|
+
Q: 1,
|
|
454
|
+
R: 9,
|
|
455
|
+
S: 8,
|
|
456
|
+
T: 7,
|
|
457
|
+
U: 6,
|
|
458
|
+
V: 5,
|
|
459
|
+
W: 4,
|
|
460
|
+
X: 3,
|
|
461
|
+
Y: 2,
|
|
462
|
+
Z: 1,
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
const primesTable = {
|
|
466
|
+
A: 2,
|
|
467
|
+
B: 3,
|
|
468
|
+
C: 5,
|
|
469
|
+
D: 7,
|
|
470
|
+
E: 11,
|
|
471
|
+
F: 13,
|
|
472
|
+
G: 17,
|
|
473
|
+
H: 19,
|
|
474
|
+
I: 23,
|
|
475
|
+
J: 29,
|
|
476
|
+
K: 31,
|
|
477
|
+
L: 37,
|
|
478
|
+
M: 41,
|
|
479
|
+
N: 43,
|
|
480
|
+
O: 47,
|
|
481
|
+
P: 53,
|
|
482
|
+
Q: 59,
|
|
483
|
+
R: 61,
|
|
484
|
+
S: 67,
|
|
485
|
+
T: 71,
|
|
486
|
+
U: 73,
|
|
487
|
+
V: 79,
|
|
488
|
+
W: 83,
|
|
489
|
+
X: 89,
|
|
490
|
+
Y: 97,
|
|
491
|
+
Z: 101,
|
|
492
|
+
};
|
|
493
|
+
const trigonalTable = {
|
|
494
|
+
A: 1,
|
|
495
|
+
B: 3,
|
|
496
|
+
C: 6,
|
|
497
|
+
D: 10,
|
|
498
|
+
E: 15,
|
|
499
|
+
F: 21,
|
|
500
|
+
G: 28,
|
|
501
|
+
H: 36,
|
|
502
|
+
I: 45,
|
|
503
|
+
J: 55,
|
|
504
|
+
K: 66,
|
|
505
|
+
L: 78,
|
|
506
|
+
M: 91,
|
|
507
|
+
N: 105,
|
|
508
|
+
O: 120,
|
|
509
|
+
P: 136,
|
|
510
|
+
Q: 153,
|
|
511
|
+
R: 171,
|
|
512
|
+
S: 190,
|
|
513
|
+
T: 210,
|
|
514
|
+
U: 231,
|
|
515
|
+
V: 253,
|
|
516
|
+
W: 276,
|
|
517
|
+
X: 300,
|
|
518
|
+
Y: 325,
|
|
519
|
+
Z: 351,
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
const squaresTable = {
|
|
523
|
+
A: 1,
|
|
524
|
+
B: 4,
|
|
525
|
+
C: 9,
|
|
526
|
+
D: 16,
|
|
527
|
+
E: 25,
|
|
528
|
+
F: 36,
|
|
529
|
+
G: 49,
|
|
530
|
+
H: 64,
|
|
531
|
+
I: 81,
|
|
532
|
+
J: 100,
|
|
533
|
+
K: 121,
|
|
534
|
+
L: 144,
|
|
535
|
+
M: 169,
|
|
536
|
+
N: 196,
|
|
537
|
+
O: 225,
|
|
538
|
+
P: 256,
|
|
539
|
+
Q: 289,
|
|
540
|
+
R: 324,
|
|
541
|
+
S: 361,
|
|
542
|
+
T: 400,
|
|
543
|
+
U: 441,
|
|
544
|
+
V: 484,
|
|
545
|
+
W: 529,
|
|
546
|
+
X: 576,
|
|
547
|
+
Y: 625,
|
|
548
|
+
Z: 676,
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
const fibonacciTable = {
|
|
552
|
+
A: 1,
|
|
553
|
+
B: 1,
|
|
554
|
+
C: 2,
|
|
555
|
+
D: 3,
|
|
556
|
+
E: 5,
|
|
557
|
+
F: 8,
|
|
558
|
+
G: 13,
|
|
559
|
+
H: 21,
|
|
560
|
+
I: 34,
|
|
561
|
+
J: 55,
|
|
562
|
+
K: 89,
|
|
563
|
+
L: 144,
|
|
564
|
+
M: 233,
|
|
565
|
+
N: 233,
|
|
566
|
+
O: 144,
|
|
567
|
+
P: 89,
|
|
568
|
+
Q: 55,
|
|
569
|
+
R: 34,
|
|
570
|
+
S: 21,
|
|
571
|
+
T: 13,
|
|
572
|
+
U: 8,
|
|
573
|
+
V: 5,
|
|
574
|
+
W: 3,
|
|
575
|
+
X: 2,
|
|
576
|
+
Y: 1,
|
|
577
|
+
Z: 1,
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
const reversePrimesTable = {
|
|
581
|
+
Z: 2,
|
|
582
|
+
Y: 3,
|
|
583
|
+
X: 5,
|
|
584
|
+
W: 7,
|
|
585
|
+
V: 11,
|
|
586
|
+
U: 13,
|
|
587
|
+
T: 17,
|
|
588
|
+
S: 19,
|
|
589
|
+
R: 23,
|
|
590
|
+
Q: 29,
|
|
591
|
+
P: 31,
|
|
592
|
+
O: 37,
|
|
593
|
+
N: 41,
|
|
594
|
+
M: 43,
|
|
595
|
+
L: 47,
|
|
596
|
+
K: 53,
|
|
597
|
+
J: 59,
|
|
598
|
+
I: 61,
|
|
599
|
+
H: 67,
|
|
600
|
+
G: 71,
|
|
601
|
+
F: 73,
|
|
602
|
+
E: 79,
|
|
603
|
+
D: 83,
|
|
604
|
+
C: 89,
|
|
605
|
+
B: 97,
|
|
606
|
+
A: 101,
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
const reverseTrigonalTable = {
|
|
610
|
+
Z: 1,
|
|
611
|
+
Y: 3,
|
|
612
|
+
X: 6,
|
|
613
|
+
W: 10,
|
|
614
|
+
V: 15,
|
|
615
|
+
U: 21,
|
|
616
|
+
T: 28,
|
|
617
|
+
S: 36,
|
|
618
|
+
R: 45,
|
|
619
|
+
Q: 55,
|
|
620
|
+
P: 66,
|
|
621
|
+
O: 78,
|
|
622
|
+
N: 91,
|
|
623
|
+
M: 105,
|
|
624
|
+
L: 120,
|
|
625
|
+
K: 136,
|
|
626
|
+
J: 153,
|
|
627
|
+
I: 171,
|
|
628
|
+
H: 190,
|
|
629
|
+
G: 210,
|
|
630
|
+
F: 231,
|
|
631
|
+
E: 253,
|
|
632
|
+
D: 276,
|
|
633
|
+
C: 300,
|
|
634
|
+
B: 325,
|
|
635
|
+
A: 351,
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
const septenaryTable = {
|
|
639
|
+
A: 1,
|
|
640
|
+
B: 2,
|
|
641
|
+
C: 3,
|
|
642
|
+
D: 4,
|
|
643
|
+
E: 5,
|
|
644
|
+
F: 6,
|
|
645
|
+
G: 7,
|
|
646
|
+
H: 6,
|
|
647
|
+
I: 5,
|
|
648
|
+
J: 4,
|
|
649
|
+
K: 3,
|
|
650
|
+
L: 2,
|
|
651
|
+
M: 1,
|
|
652
|
+
N: 1,
|
|
653
|
+
O: 2,
|
|
654
|
+
P: 3,
|
|
655
|
+
Q: 4,
|
|
656
|
+
R: 5,
|
|
657
|
+
S: 6,
|
|
658
|
+
T: 7,
|
|
659
|
+
U: 6,
|
|
660
|
+
V: 5,
|
|
661
|
+
W: 4,
|
|
662
|
+
X: 3,
|
|
663
|
+
Y: 2,
|
|
664
|
+
Z: 1,
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
const reverseSquaresTable = {
|
|
668
|
+
Z: 1,
|
|
669
|
+
Y: 4,
|
|
670
|
+
X: 9,
|
|
671
|
+
W: 16,
|
|
672
|
+
V: 25,
|
|
673
|
+
U: 36,
|
|
674
|
+
T: 49,
|
|
675
|
+
S: 64,
|
|
676
|
+
R: 81,
|
|
677
|
+
Q: 100,
|
|
678
|
+
P: 121,
|
|
679
|
+
O: 144,
|
|
680
|
+
N: 169,
|
|
681
|
+
M: 196,
|
|
682
|
+
L: 225,
|
|
683
|
+
K: 256,
|
|
684
|
+
J: 289,
|
|
685
|
+
I: 324,
|
|
686
|
+
H: 361,
|
|
687
|
+
G: 400,
|
|
688
|
+
F: 441,
|
|
689
|
+
E: 484,
|
|
690
|
+
D: 529,
|
|
691
|
+
C: 576,
|
|
692
|
+
B: 625,
|
|
693
|
+
A: 676,
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
const chaldeanTable = {
|
|
697
|
+
A: 1,
|
|
698
|
+
B: 2,
|
|
699
|
+
C: 3,
|
|
700
|
+
D: 4,
|
|
701
|
+
E: 5,
|
|
702
|
+
F: 8,
|
|
703
|
+
G: 3,
|
|
704
|
+
H: 5,
|
|
705
|
+
I: 1,
|
|
706
|
+
J: 1,
|
|
707
|
+
K: 2,
|
|
708
|
+
L: 3,
|
|
709
|
+
M: 4,
|
|
710
|
+
N: 5,
|
|
711
|
+
O: 7,
|
|
712
|
+
P: 8,
|
|
713
|
+
Q: 1,
|
|
714
|
+
R: 2,
|
|
715
|
+
S: 3,
|
|
716
|
+
T: 4,
|
|
717
|
+
U: 6,
|
|
718
|
+
V: 6,
|
|
719
|
+
W: 6,
|
|
720
|
+
X: 5,
|
|
721
|
+
Y: 1,
|
|
722
|
+
Z: 7,
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
const keypadTable = {
|
|
726
|
+
A: 2,
|
|
727
|
+
B: 2,
|
|
728
|
+
C: 2,
|
|
729
|
+
D: 3,
|
|
730
|
+
E: 3,
|
|
731
|
+
F: 3,
|
|
732
|
+
G: 4,
|
|
733
|
+
H: 4,
|
|
734
|
+
I: 4,
|
|
735
|
+
J: 5,
|
|
736
|
+
K: 5,
|
|
737
|
+
L: 5,
|
|
738
|
+
M: 6,
|
|
739
|
+
N: 6,
|
|
740
|
+
O: 6,
|
|
741
|
+
P: 7,
|
|
742
|
+
Q: 7,
|
|
743
|
+
R: 7,
|
|
744
|
+
S: 7,
|
|
745
|
+
T: 8,
|
|
746
|
+
U: 8,
|
|
747
|
+
V: 8,
|
|
748
|
+
W: 9,
|
|
749
|
+
X: 9,
|
|
750
|
+
Y: 9,
|
|
751
|
+
Z: 9,
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
export {
|
|
755
|
+
standardTable,
|
|
756
|
+
standardExtendedTable,
|
|
757
|
+
latinTable,
|
|
758
|
+
capitalsMixedTable,
|
|
759
|
+
reverseCapitalsMixedTable,
|
|
760
|
+
lowercaseTable,
|
|
761
|
+
uppercaseTable,
|
|
762
|
+
reverseStandardExtendedTable,
|
|
763
|
+
satanicTable,
|
|
764
|
+
reverseSatanicTable,
|
|
765
|
+
singleReductionTable,
|
|
766
|
+
kvExceptionTable,
|
|
767
|
+
skvExceptionTable,
|
|
768
|
+
reverseSingleReductionTable,
|
|
769
|
+
epExceptionTable,
|
|
770
|
+
ehpExceptionTable,
|
|
771
|
+
primesTable,
|
|
772
|
+
trigonalTable,
|
|
773
|
+
squaresTable,
|
|
774
|
+
fibonacciTable,
|
|
775
|
+
reversePrimesTable,
|
|
776
|
+
reverseTrigonalTable,
|
|
777
|
+
septenaryTable,
|
|
778
|
+
reverseSquaresTable,
|
|
779
|
+
chaldeanTable,
|
|
780
|
+
keypadTable,
|
|
781
|
+
};
|
package/src/index.js
ADDED