caelus 0.20.1 → 0.22.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/README.md +5 -3
- package/accuracy.json +2 -2
- package/data/constellations.json +1 -0
- package/data/fixed_stars_deep.json +1 -0
- package/dist/data/constellations.json +1 -0
- package/dist/src/core.d.ts +5 -0
- package/dist/src/data-embedded.js +2 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/interpretation.js +2 -0
- package/dist/src/node-loader.js +6 -0
- package/dist/src/skyview.d.ts +344 -0
- package/dist/src/skyview.js +979 -0
- package/dist/src/stars.d.ts +15 -0
- package/package.json +6 -4
package/dist/src/stars.d.ts
CHANGED
|
@@ -24,5 +24,20 @@ export interface StarPack {
|
|
|
24
24
|
frame: string;
|
|
25
25
|
stars: Record<string, StarEntry>;
|
|
26
26
|
}
|
|
27
|
+
/** Constellation figure lines and labels; vertices as ecliptic J2000 (lon, lat)
|
|
28
|
+
* degrees. Built by scripts/build-constellations.mjs from d3-celestial. */
|
|
29
|
+
export interface ConstellationPack {
|
|
30
|
+
provenance: string;
|
|
31
|
+
lines: {
|
|
32
|
+
con: string;
|
|
33
|
+
segs: number[][][];
|
|
34
|
+
}[];
|
|
35
|
+
labels: {
|
|
36
|
+
name: string;
|
|
37
|
+
con: string;
|
|
38
|
+
lon: number;
|
|
39
|
+
lat: number;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
27
42
|
/** Apparent ecliptic [lon, lat] of date (rad) for a catalog entry. */
|
|
28
43
|
export declare function starApparent(data: EngineData, s: StarEntry, jde: number): [number, number];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caelus",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.22.0",
|
|
4
|
+
"description": "Clean-room TypeScript astrology computation: ephemeris, charts, events, timing techniques, Vedic methods, and citable chart facts. MIT, no AGPL or ephemeris files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
7
7
|
"types": "dist/src/index.d.ts",
|
|
@@ -15,11 +15,13 @@
|
|
|
15
15
|
"data/pluto_meeus37.json",
|
|
16
16
|
"data/chiron_cheb.json",
|
|
17
17
|
"data/moon_cheb.embedded.json",
|
|
18
|
-
"data/fixed_stars.json"
|
|
18
|
+
"data/fixed_stars.json",
|
|
19
|
+
"data/fixed_stars_deep.json",
|
|
20
|
+
"data/constellations.json"
|
|
19
21
|
],
|
|
20
22
|
"scripts": {
|
|
21
23
|
"build": "tsc",
|
|
22
|
-
"test": "node dist/test/golden.test.js"
|
|
24
|
+
"test": "node dist/test/golden.test.js && node dist/test/skyview.test.js"
|
|
23
25
|
},
|
|
24
26
|
"license": "MIT",
|
|
25
27
|
"publishConfig": {
|