kaabalah 6.6.1 → 6.6.3
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-2FRLTA5B.mjs → chunk-N4I74YCP.mjs} +3 -3
- package/dist/{chunk-2FRLTA5B.mjs.map → chunk-N4I74YCP.mjs.map} +1 -1
- 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/{chunk-RVMZBPNZ.js → chunk-ZDISHSMX.js} +3 -3
- package/dist/{chunk-RVMZBPNZ.js.map → chunk-ZDISHSMX.js.map} +1 -1
- package/dist/cli.js +17010 -14932
- package/dist/cli.js.map +1 -1
- package/dist/index.js +156 -156
- package/dist/index.mjs +4 -4
- package/dist/semantic/index.js +21 -21
- package/dist/semantic/index.mjs +2 -2
- package/dist/visual/index.js +27 -27
- package/dist/visual/index.mjs +1 -1
- package/package.json +1 -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
|
|
|
@@ -1573,7 +1573,7 @@ function resolvePalette(palette = "default", background = "transparent") {
|
|
|
1573
1573
|
};
|
|
1574
1574
|
}
|
|
1575
1575
|
function defaultGlyphHalo(background) {
|
|
1576
|
-
return background === "transparent" ? "#
|
|
1576
|
+
return background === "transparent" ? "#fff" : background;
|
|
1577
1577
|
}
|
|
1578
1578
|
function clonePalette(palette) {
|
|
1579
1579
|
return {
|
|
@@ -2731,5 +2731,5 @@ function escapeAttr2(value) {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
|
|
2733
2733
|
export { ANGLE_GLYPHS, ANGLE_GLYPH_PRIMITIVES, ASPECT_GLYPHS, ASPECT_GLYPH_PRIMITIVES, ASTRO_GLYPHS, ASTRO_WHEEL_DEFAULT_ASPECT_SPECS, ASTRO_WHEEL_DEFAULT_VIEWBOX, ASTRO_WHEEL_POINT_GLYPHS, ASTRO_WHEEL_ZODIAC_SIGNS, PLANET_GLYPHS, PLANET_GLYPH_PRIMITIVES, TREE_PATH_IDS, TREE_SPHERE_IDS, TREE_SPHERE_NAMES, TREE_SVG_DEFAULT_VIEWBOX, ZODIAC_GLYPHS, ZODIAC_GLYPH_PRIMITIVES, generateAstroGlyphSvg, generateAstroWheelSvg, generateGlyphSvg, generateTreeSvg, getAstroGlyph, getAstroWheelRenderModel, getTreeLayout, getTreeRenderModel, listAstroGlyphs };
|
|
2734
|
-
//# sourceMappingURL=chunk-
|
|
2735
|
-
//# sourceMappingURL=chunk-
|
|
2734
|
+
//# sourceMappingURL=chunk-N4I74YCP.mjs.map
|
|
2735
|
+
//# sourceMappingURL=chunk-N4I74YCP.mjs.map
|