kaabalah 6.6.0 → 6.6.2
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 +5 -3
- package/dist/{chunk-BJYIWIQC.mjs → chunk-2FRLTA5B.mjs} +578 -88
- package/dist/chunk-2FRLTA5B.mjs.map +1 -0
- package/dist/{chunk-5LPSD4IA.js → chunk-RVMZBPNZ.js} +578 -88
- package/dist/chunk-RVMZBPNZ.js.map +1 -0
- package/dist/{chunk-CZKASW5W.js → chunk-UG6HZK3Z.js} +3 -3
- package/dist/{chunk-CZKASW5W.js.map → chunk-UG6HZK3Z.js.map} +1 -1
- package/dist/{chunk-A7KBFASN.mjs → chunk-UN7QMOMX.mjs} +3 -3
- package/dist/{chunk-A7KBFASN.mjs.map → chunk-UN7QMOMX.mjs.map} +1 -1
- package/dist/cli.js +17010 -14897
- package/dist/cli.js.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +177 -177
- package/dist/index.mjs +3 -3
- package/dist/semantic/index.js +21 -21
- package/dist/semantic/index.mjs +2 -2
- package/dist/visual/index.d.mts +32 -50
- package/dist/visual/index.d.ts +32 -50
- package/dist/visual/index.js +27 -27
- package/dist/visual/index.mjs +1 -1
- package/package.json +5 -2
- package/dist/chunk-5LPSD4IA.js.map +0 -1
- package/dist/chunk-BJYIWIQC.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ All modules are tree-shakable and can be imported independently:
|
|
|
31
31
|
| Tarot | `kaabalah/tarot` | 78-card deck with profiles, archetypes, correspondences, multi-deck images, spread engine |
|
|
32
32
|
| Ifa | `kaabalah/ifa` | Odu divination |
|
|
33
33
|
| Semantic | `kaabalah/semantic` | Theme profiles, kaabalistic overlay correspondences, symbol metadata |
|
|
34
|
-
| Visual | `kaabalah/visual` | Tree of Life SVG generation
|
|
34
|
+
| Visual | `kaabalah/visual` | Tree of Life and astrology wheel SVG generation plus layout/render-model data |
|
|
35
35
|
|
|
36
36
|
## Quick Example
|
|
37
37
|
|
|
@@ -40,7 +40,7 @@ import { createTree, id, KaabalahTypes } from 'kaabalah/core';
|
|
|
40
40
|
import { getBirthChart } from 'kaabalah/astrology';
|
|
41
41
|
import { calculateKaabalisticLifePath } from 'kaabalah/numerology';
|
|
42
42
|
import { getTarotCorrespondenceProfile } from 'kaabalah/tarot';
|
|
43
|
-
import { generateTreeSvg } from 'kaabalah/visual';
|
|
43
|
+
import { generateAstroWheelSvg, generateTreeSvg } from 'kaabalah/visual';
|
|
44
44
|
|
|
45
45
|
const tree = createTree({ system: 'kaabalah', parts: ['westernAstrology', 'tarot'] });
|
|
46
46
|
const correspondences = tree.getCorrespondences(id(KaabalahTypes.SPHERE, 'Tiphareth'), { depth: 2 });
|
|
@@ -53,6 +53,7 @@ const chart = await getBirthChart({
|
|
|
53
53
|
const lifePath = calculateKaabalisticLifePath(new Date('1990-06-15'));
|
|
54
54
|
const magician = getTarotCorrespondenceProfile({ tarotCardName: 'The Magician' });
|
|
55
55
|
const svg = generateTreeSvg({ background: 'transparent', palette: 'monochrome' });
|
|
56
|
+
const wheelSvg = generateAstroWheelSvg(chart, { background: 'transparent' });
|
|
56
57
|
```
|
|
57
58
|
|
|
58
59
|
## CLI
|
|
@@ -62,10 +63,11 @@ npx kaabalah help # list all commands
|
|
|
62
63
|
npx kaabalah help --json # full schema introspection
|
|
63
64
|
npx kaabalah numerology 1990-01-15 --json --compact
|
|
64
65
|
npx kaabalah astrology 1990-01-15 14:30 --lat=40.71 --lon=-74 --json
|
|
66
|
+
npx kaabalah astrology:wheel 1990-01-15 14:30 --lat=40.71 --lon=-74 --json --compact --fields=svg
|
|
65
67
|
npx kaabalah tree:node "tarotArkAnnu:The Magician" --depth=2 --json
|
|
66
68
|
```
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
28 commands covering all modules. See the [CLI Reference](https://docs.kaabalah.com/getting-started/cli/) for the full list.
|
|
69
71
|
|
|
70
72
|
## Support
|
|
71
73
|
|