sweph 2.10.3-2 → 2.10.3-4
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 +1 -1
- package/README.md +22 -15
- package/binding.gyp +23 -22
- package/index.d.ts +80 -77
- package/package.json +33 -20
- package/.github/FUNDING.yml +0 -5
- package/deps/swisseph.gyp +0 -43
- package/docs.gif +0 -0
- /package/{deps/swisseph → swisseph}/swecl.c +0 -0
- /package/{deps/swisseph → swisseph}/swedate.c +0 -0
- /package/{deps/swisseph → swisseph}/swedate.h +0 -0
- /package/{deps/swisseph → swisseph}/swehel.c +0 -0
- /package/{deps/swisseph → swisseph}/swehouse.c +0 -0
- /package/{deps/swisseph → swisseph}/swehouse.h +0 -0
- /package/{deps/swisseph → swisseph}/swejpl.c +0 -0
- /package/{deps/swisseph → swisseph}/swejpl.h +0 -0
- /package/{deps/swisseph → swisseph}/swemmoon.c +0 -0
- /package/{deps/swisseph → swisseph}/swemplan.c +0 -0
- /package/{deps/swisseph → swisseph}/swemptab.h +0 -0
- /package/{deps/swisseph → swisseph}/swenut2000a.h +0 -0
- /package/{deps/swisseph → swisseph}/sweodef.h +0 -0
- /package/{deps/swisseph → swisseph}/sweph.c +0 -0
- /package/{deps/swisseph → swisseph}/sweph.h +0 -0
- /package/{deps/swisseph → swisseph}/swephexp.h +0 -0
- /package/{deps/swisseph → swisseph}/swephlib.c +0 -0
- /package/{deps/swisseph → swisseph}/swephlib.h +0 -0
package/LICENSE
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
This program and the accompanying materials are made available
|
|
2
|
-
under the terms of the GNU GENERAL PUBLIC LICENSE
|
|
2
|
+
under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE 3.0 which is
|
|
3
3
|
available at https://www.gnu.org/licenses/agpl-3.0.html, or the
|
|
4
4
|
GNU LESSER GENERAL PUBLIC LICENSE 3.0 which is available at
|
|
5
5
|
https://www.gnu.org/licenses/lgpl-3.0.html depending on the
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Sweph
|
|
2
2
|
|
|
3
3
|
The definitive Swiss Ephemeris bindings for Node.js
|
|
4
|
-
Everything you need to create Astrology and Astronomy applications with JavaScript and
|
|
4
|
+
Everything you need to create Astrology and Astronomy applications with JavaScript and Node.JS
|
|
5
5
|
|
|
6
6
|
* 100% API coverage
|
|
7
7
|
* Built-in Typescript declarations and ESM exports
|
|
8
8
|
* Built-in intellisense documentation
|
|
9
9
|
* Version matched
|
|
10
|
-
*
|
|
10
|
+
* Built with Node's N-API
|
|
11
11
|
|
|
12
12
|
[Official programmer's documentation for the Swiss Ephemeris by Astrodienst AG](https://www.astro.com/swisseph/swephprg.htm)
|
|
13
13
|
[Official guide for the Swiss Ephemeris by Astrodienst AG](https://www.astro.com/ftp/swisseph/doc/swisseph.htm)
|
|
@@ -46,25 +46,30 @@ This library is fully typed and documented via intellisense. To access its docum
|
|
|
46
46
|
|
|
47
47
|
## Ephemeris files
|
|
48
48
|
|
|
49
|
-
This library does not include any ephemeris files
|
|
49
|
+
Ephemeris files are required to enable high precision calculations for planets and asteroids. This library does not include any ephemeris files by default, but you can download them from the official Swiss Ephemeris Github repository (main planets only) or the official Astrodienst Dropox folder (all files):
|
|
50
|
+
|
|
51
|
+
* Swiss Ephemeris Github: [https://github.com/aloistr/swisseph/tree/master/ephe](https://github.com/aloistr/swisseph/tree/master/ephe)
|
|
52
|
+
* Astrodienst Dropbox [https://www.dropbox.com/scl/fo/y3naz62gy6f6qfrhquu7u/h?rlkey=ejltdhb262zglm7eo6yfj2940&dl=0](https://www.dropbox.com/scl/fo/y3naz62gy6f6qfrhquu7u/h?rlkey=ejltdhb262zglm7eo6yfj2940&dl=0)
|
|
50
53
|
|
|
51
54
|
Each main ephemeris file covers a range of 600 years starting from the century indicated in its name, for example the file `sepl_18.se1` is valid from year 1800 until year 2400. The following files are available:
|
|
52
55
|
|
|
53
|
-
* sepl files - planets
|
|
56
|
+
* sepl files - planets
|
|
54
57
|
* seplm files - planets (BC)
|
|
55
|
-
* semo files - moon
|
|
58
|
+
* semo files - moon
|
|
56
59
|
* semom files - moon (BC)
|
|
57
|
-
* seas files - main asteroids
|
|
60
|
+
* seas files - main asteroids
|
|
58
61
|
* seasm files - main asteroids (BC)
|
|
59
62
|
|
|
60
|
-
For advanced usage, the following files can also be found:
|
|
63
|
+
For advanced usage, the following files and folders can also be found in the dropbox link:
|
|
64
|
+
|
|
65
|
+
* all_ast - files for all asteroids (600 years range)
|
|
66
|
+
* long_ast - files for named asteroids (6000 years range)
|
|
67
|
+
* jpl binary files - files for NASA's JPL ephemerides
|
|
68
|
+
* ephe/sat folder - files for planetary moons
|
|
61
69
|
|
|
62
|
-
|
|
63
|
-
* longfiles folder - files for individual asteroids (6000 years)
|
|
64
|
-
* jplfiles folder - files for NASA's JPL ephemerides
|
|
65
|
-
* sat folder - files for planetary moons
|
|
70
|
+
To use the files, download them, store them in some folder, then call `set_ephe_path()` to point the library to that folder. Asteroid files should be placed in `astxxx` subfolders, the same way they appear in the dropbox asteroids section. Files for planetary moons should be placed in a `sat` subfolder.
|
|
66
71
|
|
|
67
|
-
More information can be found in the [Swiss Ephemeris
|
|
72
|
+
More information can be found in the files sections of the [Swiss Ephemeris documentation](https://www.astro.com/ftp/swisseph/doc/swisseph.htm).
|
|
68
73
|
|
|
69
74
|
## Contributing
|
|
70
75
|
|
|
@@ -74,8 +79,10 @@ If you find any inaccuracy or bug in this library, or if you find an upstream up
|
|
|
74
79
|
|
|
75
80
|
* While worker_threads are supported, the underlying C library is single threaded and contains process-wide settings. Functions such as `set_ephe_path()` or `set_sid_mode()` will affect the entire process, including all worker_threads. While you can still use worker_threads as long as you don't change settings from other threads in the middle of calculations, true thread-safe multithreading can only be achieved using child_process.
|
|
76
81
|
|
|
77
|
-
* This library is a C/C++ add-on designed for Node.JS only, it will not work in browsers, other JS engines or in any other environment that does not support native C/C++ add-ons. In order to install this library, the target system must have the necessary build tools installed, such as `python`, `make` and `gcc` on Linux, `xcode` on Mac, `visual c
|
|
82
|
+
* This library is a C/C++ add-on designed for Node.JS only, it will not work in browsers, other JS engines or in any other environment that does not support native C/C++ add-ons made with Node's N-API. In order to install this library, the target system must have the necessary build tools installed, such as `python`, `make` and `gcc` on Linux, `xcode` on Mac, `visual c++ build tools` on Windows, and/or other equivalent solutions.
|
|
83
|
+
|
|
84
|
+
## Copyright
|
|
78
85
|
|
|
79
|
-
|
|
86
|
+
Copyright © 2021-2023, Timotej Valentin Rojko
|
|
80
87
|
|
|
81
|
-
|
|
88
|
+
This library is offered free of charge for any type of use, including commercial use, however, if you're an individual or a company using this library in commercial products and/or services, consider subscribing to the appropriate sponsorship level [here](https://github.com/sponsors/timotejroiko) and get priority support for your business.
|
package/binding.gyp
CHANGED
|
@@ -4,36 +4,37 @@
|
|
|
4
4
|
"target_name": "sweph",
|
|
5
5
|
"sources": [
|
|
6
6
|
"src/sweph.cpp",
|
|
7
|
-
"
|
|
7
|
+
"src/functions.cpp"
|
|
8
8
|
],
|
|
9
9
|
"include_dirs": [
|
|
10
10
|
"<!(node -p \"require('node-addon-api').include_dir\")",
|
|
11
11
|
"src"
|
|
12
12
|
],
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
"dependencies": [
|
|
14
|
+
"swisseph"
|
|
15
|
+
],
|
|
16
16
|
"defines": [
|
|
17
17
|
"NAPI_DISABLE_CPP_EXCEPTIONS"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"target_name": "swisseph",
|
|
22
|
+
'type': "static_library",
|
|
23
|
+
"sources": [
|
|
24
|
+
"swisseph/swecl.c",
|
|
25
|
+
"swisseph/swedate.c",
|
|
26
|
+
"swisseph/swehel.c",
|
|
27
|
+
"swisseph/swehouse.c",
|
|
28
|
+
"swisseph/swejpl.c",
|
|
29
|
+
"swisseph/swemmoon.c",
|
|
30
|
+
"swisseph/swemplan.c",
|
|
31
|
+
"swisseph/sweph.c",
|
|
32
|
+
"swisseph/swephlib.c"
|
|
18
33
|
],
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
],
|
|
24
|
-
"cflags_cc": [
|
|
25
|
-
"-flto",
|
|
26
|
-
"-Ofast",
|
|
27
|
-
"-pipe"
|
|
28
|
-
],
|
|
29
|
-
"msvs_settings": {
|
|
30
|
-
"VCCLCompilerTool": {
|
|
31
|
-
"AdditionalOptions": [
|
|
32
|
-
"/O2",
|
|
33
|
-
"/GL",
|
|
34
|
-
"/Gw"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
34
|
+
"direct_dependent_settings": {
|
|
35
|
+
"include_dirs": [
|
|
36
|
+
"swisseph"
|
|
37
|
+
]
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
]
|
package/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* set_ephe_path("./ephemeris"); // folder containing your ephemeris files;
|
|
16
16
|
*
|
|
17
|
-
* const date = utc_to_jd(2020, 1, 25, 15, 35, 0, constants.SE_GREG_CAL); //
|
|
17
|
+
* const date = utc_to_jd(2020, 1, 25, 15, 35, 0, constants.SE_GREG_CAL); // 25 Jan 2020, 15:35:00, gregorian calendar
|
|
18
18
|
* if(date.flag !== constants.OK) { throw new Error(date.error); }
|
|
19
19
|
*
|
|
20
20
|
* const [ jd_et, jd_ut ] = date.data; // et for planets, ut for houses
|
|
@@ -37,7 +37,7 @@ declare module "sweph" {
|
|
|
37
37
|
└──────────────────────────────────────────────────┴────────────┴──────────────────────────────────────────────────┘
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
interface Flag {
|
|
40
|
+
export interface Flag {
|
|
41
41
|
/**
|
|
42
42
|
* ### Description
|
|
43
43
|
* Status flag returned by the function
|
|
@@ -48,7 +48,7 @@ declare module "sweph" {
|
|
|
48
48
|
flag: number;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
interface Error {
|
|
51
|
+
export interface Error {
|
|
52
52
|
/**
|
|
53
53
|
* ### Description
|
|
54
54
|
* Error message
|
|
@@ -59,7 +59,7 @@ declare module "sweph" {
|
|
|
59
59
|
error: string;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
interface Name {
|
|
62
|
+
export interface Name {
|
|
63
63
|
/**
|
|
64
64
|
* ### Description
|
|
65
65
|
* Star name
|
|
@@ -70,7 +70,7 @@ declare module "sweph" {
|
|
|
70
70
|
name: string;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
interface GetCurrentFileData {
|
|
73
|
+
export interface GetCurrentFileData {
|
|
74
74
|
/**
|
|
75
75
|
* ### Description
|
|
76
76
|
* Path to ephemeris file
|
|
@@ -101,7 +101,7 @@ declare module "sweph" {
|
|
|
101
101
|
denum: number;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
interface GetOrbitalElements extends Flag, Error {
|
|
104
|
+
export interface GetOrbitalElements extends Flag, Error {
|
|
105
105
|
/**
|
|
106
106
|
* ### Description
|
|
107
107
|
* Array of orbital/kepler elements
|
|
@@ -111,7 +111,7 @@ declare module "sweph" {
|
|
|
111
111
|
data: OrbitalElementsData;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
interface Calc extends Error, Flag {
|
|
114
|
+
export interface Calc extends Error, Flag {
|
|
115
115
|
/**
|
|
116
116
|
* ### Description
|
|
117
117
|
* Array of values returned by the calculation
|
|
@@ -126,7 +126,7 @@ declare module "sweph" {
|
|
|
126
126
|
data: CalcData;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
interface DateConversion extends Flag {
|
|
129
|
+
export interface DateConversion extends Flag {
|
|
130
130
|
/**
|
|
131
131
|
* ### Description
|
|
132
132
|
* Julian day value
|
|
@@ -136,7 +136,7 @@ declare module "sweph" {
|
|
|
136
136
|
data: number;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
interface DeltaT extends Error {
|
|
139
|
+
export interface DeltaT extends Error {
|
|
140
140
|
/**
|
|
141
141
|
* ### Description
|
|
142
142
|
* Delta T value
|
|
@@ -146,7 +146,7 @@ declare module "sweph" {
|
|
|
146
146
|
data: number;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
interface FixStar extends Flag, Name, Error {
|
|
149
|
+
export interface FixStar extends Flag, Name, Error {
|
|
150
150
|
/**
|
|
151
151
|
* ### Description
|
|
152
152
|
* Array of values returned by the calculation
|
|
@@ -160,7 +160,7 @@ declare module "sweph" {
|
|
|
160
160
|
data: CalcData2;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
interface FixStarMag extends Flag, Name, Error {
|
|
163
|
+
export interface FixStarMag extends Flag, Name, Error {
|
|
164
164
|
/**
|
|
165
165
|
* ### Description
|
|
166
166
|
* Magnitude value
|
|
@@ -170,7 +170,7 @@ declare module "sweph" {
|
|
|
170
170
|
data: number;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
interface GauquelinSector extends Flag, Error {
|
|
173
|
+
export interface GauquelinSector extends Flag, Error {
|
|
174
174
|
/**
|
|
175
175
|
* ### Description
|
|
176
176
|
* Gauquelin Sector
|
|
@@ -180,7 +180,7 @@ declare module "sweph" {
|
|
|
180
180
|
data: number;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
interface Ayanamsa extends Flag, Error {
|
|
183
|
+
export interface Ayanamsa extends Flag, Error {
|
|
184
184
|
/**
|
|
185
185
|
* ### Description
|
|
186
186
|
* Ayanamsa Value
|
|
@@ -190,7 +190,7 @@ declare module "sweph" {
|
|
|
190
190
|
data: number;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
interface HeliacalPheno extends Flag, Error {
|
|
193
|
+
export interface HeliacalPheno extends Flag, Error {
|
|
194
194
|
/**
|
|
195
195
|
* ### Description
|
|
196
196
|
* Array of values used by heliacal calculations
|
|
@@ -200,7 +200,7 @@ declare module "sweph" {
|
|
|
200
200
|
data: HeliacalPhenoData;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
interface Heliacal extends Flag, Error {
|
|
203
|
+
export interface Heliacal extends Flag, Error {
|
|
204
204
|
/**
|
|
205
205
|
* ### Description
|
|
206
206
|
* Event times of the heliacal phenomenon
|
|
@@ -210,7 +210,7 @@ declare module "sweph" {
|
|
|
210
210
|
data: HeliacalData;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
interface HousePosition extends Error {
|
|
213
|
+
export interface HousePosition extends Error {
|
|
214
214
|
/**
|
|
215
215
|
* ### Description
|
|
216
216
|
* House position including fraction
|
|
@@ -221,7 +221,7 @@ declare module "sweph" {
|
|
|
221
221
|
data: number
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
interface Houses<T> extends Flag {
|
|
224
|
+
export interface Houses<T> extends Flag {
|
|
225
225
|
/**
|
|
226
226
|
* ### Description
|
|
227
227
|
* Calculated positions for the houses and other points
|
|
@@ -231,7 +231,7 @@ declare module "sweph" {
|
|
|
231
231
|
data: HouseData<T>
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
interface HousesEx<T> extends Flag, Error {
|
|
234
|
+
export interface HousesEx<T> extends Flag, Error {
|
|
235
235
|
/**
|
|
236
236
|
* ### Description
|
|
237
237
|
* Calculated positions for the houses and other points
|
|
@@ -242,7 +242,7 @@ declare module "sweph" {
|
|
|
242
242
|
data: HouseExData<T>
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
interface HouseData<T> {
|
|
245
|
+
export interface HouseData<T> {
|
|
246
246
|
/**
|
|
247
247
|
* ### Description
|
|
248
248
|
* Longitude positions for the houses
|
|
@@ -260,7 +260,7 @@ declare module "sweph" {
|
|
|
260
260
|
points: PointsList
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
interface HouseExData<T> extends HouseData<T> {
|
|
263
|
+
export interface HouseExData<T> extends HouseData<T> {
|
|
264
264
|
/**
|
|
265
265
|
* ### Description
|
|
266
266
|
* Momentary motion speeds of the houses
|
|
@@ -277,7 +277,7 @@ declare module "sweph" {
|
|
|
277
277
|
pointsSpeed: PointsSpeeds
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
interface DateObject {
|
|
280
|
+
export interface DateObject {
|
|
281
281
|
/**
|
|
282
282
|
* ### Description
|
|
283
283
|
* Full year
|
|
@@ -308,7 +308,7 @@ declare module "sweph" {
|
|
|
308
308
|
hour: number;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
interface DateObject2 extends DateObject {
|
|
311
|
+
export interface DateObject2 extends DateObject {
|
|
312
312
|
/**
|
|
313
313
|
* ### Description
|
|
314
314
|
* Hour (0-23)
|
|
@@ -332,7 +332,7 @@ declare module "sweph" {
|
|
|
332
332
|
second: number;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
interface LocalApparentTime extends Flag, Error {
|
|
335
|
+
export interface LocalApparentTime extends Flag, Error {
|
|
336
336
|
/**
|
|
337
337
|
* ### Description
|
|
338
338
|
* Local apparent time in julian day in universal time
|
|
@@ -342,7 +342,7 @@ declare module "sweph" {
|
|
|
342
342
|
data: number
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
interface LocalMeanTime extends Flag, Error {
|
|
345
|
+
export interface LocalMeanTime extends Flag, Error {
|
|
346
346
|
/**
|
|
347
347
|
* ### Description
|
|
348
348
|
* Local mean time in julian day in universal time
|
|
@@ -352,7 +352,7 @@ declare module "sweph" {
|
|
|
352
352
|
data: number
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
interface OrbitMaxMinTrueDistance extends Flag, Error {
|
|
355
|
+
export interface OrbitMaxMinTrueDistance extends Flag, Error {
|
|
356
356
|
/**
|
|
357
357
|
* ### Description
|
|
358
358
|
* Orbital maximum and minimum possible distances
|
|
@@ -375,7 +375,7 @@ declare module "sweph" {
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
interface LunEclipseHow extends Flag, Error {
|
|
378
|
+
export interface LunEclipseHow extends Flag, Error {
|
|
379
379
|
/**
|
|
380
380
|
* ### Description
|
|
381
381
|
* Array of data about the lunar eclipse
|
|
@@ -385,7 +385,7 @@ declare module "sweph" {
|
|
|
385
385
|
data: LunEclipseAttributes
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
interface LunEclipseWhenLoc extends Flag, Error {
|
|
388
|
+
export interface LunEclipseWhenLoc extends Flag, Error {
|
|
389
389
|
/**
|
|
390
390
|
* ### Description
|
|
391
391
|
* Array of eclipse timings
|
|
@@ -402,7 +402,7 @@ declare module "sweph" {
|
|
|
402
402
|
attributes: LunEclipseAttributes
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
interface LunEclipseWhen extends Flag, Error {
|
|
405
|
+
export interface LunEclipseWhen extends Flag, Error {
|
|
406
406
|
/**
|
|
407
407
|
* ### Description
|
|
408
408
|
* Array of eclipse timings
|
|
@@ -412,7 +412,7 @@ declare module "sweph" {
|
|
|
412
412
|
data: EclipseTimes
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
interface EclipseWhenGlob extends Flag, Error {
|
|
415
|
+
export interface EclipseWhenGlob extends Flag, Error {
|
|
416
416
|
/**
|
|
417
417
|
* ### Description
|
|
418
418
|
* Array of eclipse timings
|
|
@@ -422,7 +422,7 @@ declare module "sweph" {
|
|
|
422
422
|
data: EclipseTimes3
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
interface LunOccultWhenLoc extends Flag, Error {
|
|
425
|
+
export interface LunOccultWhenLoc extends Flag, Error {
|
|
426
426
|
/**
|
|
427
427
|
* ### Description
|
|
428
428
|
* Array of eclipse timings
|
|
@@ -439,7 +439,7 @@ declare module "sweph" {
|
|
|
439
439
|
attributes: EclipseAttributes
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
interface LunOccultWhere extends Flag, Error {
|
|
442
|
+
export interface LunOccultWhere extends Flag, Error {
|
|
443
443
|
/**
|
|
444
444
|
* ### Description
|
|
445
445
|
* Array of eclipse coordinates
|
|
@@ -456,7 +456,7 @@ declare module "sweph" {
|
|
|
456
456
|
attributes: LunEclipseAttributes2
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
interface NodAps extends Flag, Error {
|
|
459
|
+
export interface NodAps extends Flag, Error {
|
|
460
460
|
/**
|
|
461
461
|
* ### Description
|
|
462
462
|
* Object containing ascending node, descending node, aphelion and perihelion values
|
|
@@ -513,7 +513,7 @@ declare module "sweph" {
|
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
interface Pheno extends Flag, Error {
|
|
516
|
+
export interface Pheno extends Flag, Error {
|
|
517
517
|
/**
|
|
518
518
|
* ### Description
|
|
519
519
|
* Array containing data for planetary phenomena
|
|
@@ -523,7 +523,7 @@ declare module "sweph" {
|
|
|
523
523
|
data: PhenoData;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
-
interface RefracExtended {
|
|
526
|
+
export interface RefracExtended {
|
|
527
527
|
/**
|
|
528
528
|
* ### Description
|
|
529
529
|
* Converted altitude value
|
|
@@ -540,7 +540,7 @@ declare module "sweph" {
|
|
|
540
540
|
extended: RefracExtendedData;
|
|
541
541
|
}
|
|
542
542
|
|
|
543
|
-
interface RiseTrans extends Flag, Error {
|
|
543
|
+
export interface RiseTrans extends Flag, Error {
|
|
544
544
|
/**
|
|
545
545
|
* ### Description
|
|
546
546
|
* Time of transit in julian days in universal time
|
|
@@ -550,7 +550,7 @@ declare module "sweph" {
|
|
|
550
550
|
data: number;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
interface SolEclipseHow extends Flag, Error {
|
|
553
|
+
export interface SolEclipseHow extends Flag, Error {
|
|
554
554
|
/**
|
|
555
555
|
* ### Description
|
|
556
556
|
* Array of data about the solar eclipse
|
|
@@ -560,7 +560,7 @@ declare module "sweph" {
|
|
|
560
560
|
data: EclipseAttributes2;
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
interface SolEclipseWhenLoc extends Flag, Error {
|
|
563
|
+
export interface SolEclipseWhenLoc extends Flag, Error {
|
|
564
564
|
/**
|
|
565
565
|
* ### Description
|
|
566
566
|
* Array of eclipse timings
|
|
@@ -577,7 +577,7 @@ declare module "sweph" {
|
|
|
577
577
|
attributes: EclipseAttributes2;
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
interface SolEclipseWhere extends Flag, Error {
|
|
580
|
+
export interface SolEclipseWhere extends Flag, Error {
|
|
581
581
|
/**
|
|
582
582
|
* ### Description
|
|
583
583
|
* Array of eclipse coordinates
|
|
@@ -594,7 +594,7 @@ declare module "sweph" {
|
|
|
594
594
|
attributes: EclipseAttributes2;
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
-
interface SplitDeg {
|
|
597
|
+
export interface SplitDeg {
|
|
598
598
|
/**
|
|
599
599
|
* ### Description
|
|
600
600
|
* Degrees value
|
|
@@ -632,7 +632,7 @@ declare module "sweph" {
|
|
|
632
632
|
sign: number;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
-
interface TimeEqu extends Flag, Error {
|
|
635
|
+
export interface TimeEqu extends Flag, Error {
|
|
636
636
|
/**
|
|
637
637
|
* ### Description
|
|
638
638
|
* Value of the equation of time (difference between LMT and LAT)
|
|
@@ -642,17 +642,17 @@ declare module "sweph" {
|
|
|
642
642
|
data: number;
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
interface UtcToJd extends Flag, Error {
|
|
645
|
+
export interface UtcToJd extends Flag, Error {
|
|
646
646
|
/**
|
|
647
647
|
* ### Description
|
|
648
648
|
* Array containing julian day in both ephemeris and universal time
|
|
649
649
|
* ```
|
|
650
650
|
* ```
|
|
651
651
|
*/
|
|
652
|
-
data:
|
|
652
|
+
data: JdEtUt;
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
interface VisLimitMag extends Flag, Error {
|
|
655
|
+
export interface VisLimitMag extends Flag, Error {
|
|
656
656
|
/**
|
|
657
657
|
* ### Description
|
|
658
658
|
* Array containing the altitude, azimuth and magnitude data of the object along with the altitude and azimuth of the sun and the moon
|
|
@@ -662,7 +662,7 @@ declare module "sweph" {
|
|
|
662
662
|
data: VisLimitMagData;
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
interface Cross extends Error {
|
|
665
|
+
export interface Cross extends Error {
|
|
666
666
|
/**
|
|
667
667
|
* ### Description
|
|
668
668
|
* Date when the next crossing happens in julian days
|
|
@@ -673,7 +673,7 @@ declare module "sweph" {
|
|
|
673
673
|
date: number;
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
-
interface NodeCross extends Cross {
|
|
676
|
+
export interface NodeCross extends Cross {
|
|
677
677
|
/**
|
|
678
678
|
* ### Description
|
|
679
679
|
* Ecliptic longitude where the crossing happens
|
|
@@ -696,7 +696,7 @@ declare module "sweph" {
|
|
|
696
696
|
└──────────────────────────────────────────────────┴───────────┴──────────────────────────────────────────────────┘
|
|
697
697
|
*/
|
|
698
698
|
|
|
699
|
-
type OrbitalElementsData = [
|
|
699
|
+
export type OrbitalElementsData = [
|
|
700
700
|
/**
|
|
701
701
|
* Semimajor axis
|
|
702
702
|
*/
|
|
@@ -768,7 +768,7 @@ declare module "sweph" {
|
|
|
768
768
|
aphelion_distance: number
|
|
769
769
|
]
|
|
770
770
|
|
|
771
|
-
type CalcData = [
|
|
771
|
+
export type CalcData = [
|
|
772
772
|
/**
|
|
773
773
|
* (`λ`) Ecliptic longitude
|
|
774
774
|
* (`α`) Equatorial right ascension if `SEFLG_EQUATORIAL`
|
|
@@ -809,7 +809,7 @@ declare module "sweph" {
|
|
|
809
809
|
distSpd: number
|
|
810
810
|
]
|
|
811
811
|
|
|
812
|
-
type CalcData2 = [
|
|
812
|
+
export type CalcData2 = [
|
|
813
813
|
/**
|
|
814
814
|
* (`λ`) Ecliptic longitude
|
|
815
815
|
* (`α`) Equatorial right ascension if `SEFLG_EQUATORIAL`
|
|
@@ -846,7 +846,7 @@ declare module "sweph" {
|
|
|
846
846
|
distSpd: number
|
|
847
847
|
]
|
|
848
848
|
|
|
849
|
-
type HeliacalPhenoData = [
|
|
849
|
+
export type HeliacalPhenoData = [
|
|
850
850
|
/**
|
|
851
851
|
* Topocentric altitude of object in degrees (unrefracted)
|
|
852
852
|
*/
|
|
@@ -969,7 +969,7 @@ declare module "sweph" {
|
|
|
969
969
|
MSk: number
|
|
970
970
|
]
|
|
971
971
|
|
|
972
|
-
type HeliacalData = [
|
|
972
|
+
export type HeliacalData = [
|
|
973
973
|
/**
|
|
974
974
|
* Start visibility in JD
|
|
975
975
|
*/
|
|
@@ -984,7 +984,7 @@ declare module "sweph" {
|
|
|
984
984
|
vis_end: number
|
|
985
985
|
]
|
|
986
986
|
|
|
987
|
-
type AzaltRev = [
|
|
987
|
+
export type AzaltRev = [
|
|
988
988
|
/**
|
|
989
989
|
* (λ) Ecliptic longitude if SE_HOR2ECL
|
|
990
990
|
* (α) Equatorial right ascension if SE_HOR2EQU
|
|
@@ -997,7 +997,7 @@ declare module "sweph" {
|
|
|
997
997
|
lat: number
|
|
998
998
|
]
|
|
999
999
|
|
|
1000
|
-
type Azalt = [
|
|
1000
|
+
export type Azalt = [
|
|
1001
1001
|
/**
|
|
1002
1002
|
* Azimuth
|
|
1003
1003
|
*/
|
|
@@ -1012,7 +1012,7 @@ declare module "sweph" {
|
|
|
1012
1012
|
ap: number
|
|
1013
1013
|
]
|
|
1014
1014
|
|
|
1015
|
-
type CoTransSp = [
|
|
1015
|
+
export type CoTransSp = [
|
|
1016
1016
|
...cotrans: CoTrans,
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Daily speed for lon
|
|
@@ -1028,7 +1028,7 @@ declare module "sweph" {
|
|
|
1028
1028
|
distSpd: number
|
|
1029
1029
|
]
|
|
1030
1030
|
|
|
1031
|
-
type CoTrans = [
|
|
1031
|
+
export type CoTrans = [
|
|
1032
1032
|
/**
|
|
1033
1033
|
* (λ) Ecliptic longitude or (α) Equatorial right ascension
|
|
1034
1034
|
*/
|
|
@@ -1043,9 +1043,9 @@ declare module "sweph" {
|
|
|
1043
1043
|
dist: number,
|
|
1044
1044
|
]
|
|
1045
1045
|
|
|
1046
|
-
type HouseSystems = "B" | "Y" | "X" | "H" | "C" | "F" | "A" | "E" | "D" | "N" | "G" | "I" | "i" | "K" | "U" | "M" | "P" | "T" | "O" | "L" | "Q" | "R" | "S" | "V" | "W";
|
|
1046
|
+
export type HouseSystems = "B" | "Y" | "X" | "H" | "C" | "F" | "A" | "E" | "D" | "N" | "G" | "I" | "i" | "K" | "U" | "M" | "P" | "T" | "O" | "L" | "Q" | "R" | "S" | "V" | "W";
|
|
1047
1047
|
|
|
1048
|
-
type HousesList = [
|
|
1048
|
+
export type HousesList = [
|
|
1049
1049
|
/**
|
|
1050
1050
|
* 1st House
|
|
1051
1051
|
*/
|
|
@@ -1096,7 +1096,7 @@ declare module "sweph" {
|
|
|
1096
1096
|
house_12: number,
|
|
1097
1097
|
]
|
|
1098
1098
|
|
|
1099
|
-
type PointsList = [
|
|
1099
|
+
export type PointsList = [
|
|
1100
1100
|
/**
|
|
1101
1101
|
* Longitude of the Ascendant
|
|
1102
1102
|
*/
|
|
@@ -1131,7 +1131,7 @@ declare module "sweph" {
|
|
|
1131
1131
|
polasc: number
|
|
1132
1132
|
]
|
|
1133
1133
|
|
|
1134
|
-
type HousesSpeeds = [
|
|
1134
|
+
export type HousesSpeeds = [
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Momentary speed for the 1st House
|
|
1137
1137
|
*/
|
|
@@ -1182,7 +1182,7 @@ declare module "sweph" {
|
|
|
1182
1182
|
house_12_speed: number,
|
|
1183
1183
|
]
|
|
1184
1184
|
|
|
1185
|
-
type PointsSpeeds = [
|
|
1185
|
+
export type PointsSpeeds = [
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Momentary speed of the Ascendant
|
|
1188
1188
|
*/
|
|
@@ -1217,7 +1217,7 @@ declare module "sweph" {
|
|
|
1217
1217
|
polasc_speed: number
|
|
1218
1218
|
]
|
|
1219
1219
|
|
|
1220
|
-
type GauquelinHousesList = [
|
|
1220
|
+
export type GauquelinHousesList = [
|
|
1221
1221
|
...houses: HousesList,
|
|
1222
1222
|
/**
|
|
1223
1223
|
* 13th House
|
|
@@ -1317,7 +1317,7 @@ declare module "sweph" {
|
|
|
1317
1317
|
house_36: number,
|
|
1318
1318
|
]
|
|
1319
1319
|
|
|
1320
|
-
type GauquelinHousesSpeeds = [
|
|
1320
|
+
export type GauquelinHousesSpeeds = [
|
|
1321
1321
|
...houses: HousesSpeeds,
|
|
1322
1322
|
/**
|
|
1323
1323
|
* Momentary speed for the 13th House
|
|
@@ -1417,7 +1417,7 @@ declare module "sweph" {
|
|
|
1417
1417
|
house_36_speed: number,
|
|
1418
1418
|
]
|
|
1419
1419
|
|
|
1420
|
-
type EclipseTimes = [
|
|
1420
|
+
export type EclipseTimes = [
|
|
1421
1421
|
/**
|
|
1422
1422
|
* time of maximum eclipse in jd
|
|
1423
1423
|
*/
|
|
@@ -1452,7 +1452,7 @@ declare module "sweph" {
|
|
|
1452
1452
|
penumbral_end: number
|
|
1453
1453
|
]
|
|
1454
1454
|
|
|
1455
|
-
type EclipseTimes2 = [
|
|
1455
|
+
export type EclipseTimes2 = [
|
|
1456
1456
|
...times: EclipseTimes,
|
|
1457
1457
|
/**
|
|
1458
1458
|
* Time of moonrise, if it occurs during the eclipse
|
|
@@ -1464,7 +1464,7 @@ declare module "sweph" {
|
|
|
1464
1464
|
set: number,
|
|
1465
1465
|
]
|
|
1466
1466
|
|
|
1467
|
-
type EclipseTimes3 = [
|
|
1467
|
+
export type EclipseTimes3 = [
|
|
1468
1468
|
/**
|
|
1469
1469
|
* time of maximum eclipse in jd
|
|
1470
1470
|
*/
|
|
@@ -1507,7 +1507,7 @@ declare module "sweph" {
|
|
|
1507
1507
|
total_annular: number
|
|
1508
1508
|
]
|
|
1509
1509
|
|
|
1510
|
-
type EclipseTimes4 = [
|
|
1510
|
+
export type EclipseTimes4 = [
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Time of maximum eclipse
|
|
1513
1513
|
*/
|
|
@@ -1538,7 +1538,7 @@ declare module "sweph" {
|
|
|
1538
1538
|
sunset: number
|
|
1539
1539
|
]
|
|
1540
1540
|
|
|
1541
|
-
type EclipseCoords = [
|
|
1541
|
+
export type EclipseCoords = [
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Geographic longitude of central line
|
|
1544
1544
|
*/
|
|
@@ -1581,7 +1581,7 @@ declare module "sweph" {
|
|
|
1581
1581
|
south_penumbra_lat: number
|
|
1582
1582
|
]
|
|
1583
1583
|
|
|
1584
|
-
type EclipseAttributes = [
|
|
1584
|
+
export type EclipseAttributes = [
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Fraction of solar diameter covered by moon (magnitude)
|
|
1587
1587
|
*/
|
|
@@ -1616,7 +1616,7 @@ declare module "sweph" {
|
|
|
1616
1616
|
elongation: number
|
|
1617
1617
|
]
|
|
1618
1618
|
|
|
1619
|
-
type EclipseAttributes2 = [
|
|
1619
|
+
export type EclipseAttributes2 = [
|
|
1620
1620
|
...attr: EclipseAttributes,
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Eclipse magnitude (same as solar_diameter or lunar_diameter depending on the eclipse type)
|
|
@@ -1632,7 +1632,7 @@ declare module "sweph" {
|
|
|
1632
1632
|
saros_member: number
|
|
1633
1633
|
]
|
|
1634
1634
|
|
|
1635
|
-
type LunEclipseAttributes = [
|
|
1635
|
+
export type LunEclipseAttributes = [
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Umbral magnitude at jd
|
|
1638
1638
|
*/
|
|
@@ -1679,7 +1679,7 @@ declare module "sweph" {
|
|
|
1679
1679
|
saros_member: number
|
|
1680
1680
|
]
|
|
1681
1681
|
|
|
1682
|
-
type LunEclipseAttributes2 = [
|
|
1682
|
+
export type LunEclipseAttributes2 = [
|
|
1683
1683
|
/**
|
|
1684
1684
|
* Fraction of object's diameter covered by moon (magnitude)
|
|
1685
1685
|
*/
|
|
@@ -1714,7 +1714,7 @@ declare module "sweph" {
|
|
|
1714
1714
|
angular_distance: number,
|
|
1715
1715
|
]
|
|
1716
1716
|
|
|
1717
|
-
type PhenoData = [
|
|
1717
|
+
export type PhenoData = [
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Phase angle (Earth-planet-sun)
|
|
1720
1720
|
*/
|
|
@@ -1737,7 +1737,7 @@ declare module "sweph" {
|
|
|
1737
1737
|
magnitude: number
|
|
1738
1738
|
]
|
|
1739
1739
|
|
|
1740
|
-
type RefracExtendedData = [
|
|
1740
|
+
export type RefracExtendedData = [
|
|
1741
1741
|
/**
|
|
1742
1742
|
* True altitude if possible, otherwise input value
|
|
1743
1743
|
*/
|
|
@@ -1756,7 +1756,7 @@ declare module "sweph" {
|
|
|
1756
1756
|
dip: number
|
|
1757
1757
|
]
|
|
1758
1758
|
|
|
1759
|
-
type
|
|
1759
|
+
export type JdEtUt = [
|
|
1760
1760
|
/**
|
|
1761
1761
|
* Julian day in ephemeris/terrestrial time
|
|
1762
1762
|
*/
|
|
@@ -1767,7 +1767,7 @@ declare module "sweph" {
|
|
|
1767
1767
|
ut: number
|
|
1768
1768
|
]
|
|
1769
1769
|
|
|
1770
|
-
type VisLimitMagData = [
|
|
1770
|
+
export type VisLimitMagData = [
|
|
1771
1771
|
/**
|
|
1772
1772
|
* Limiting visual magnitude (object is visible if this value is bigger than the object's magnitude value)
|
|
1773
1773
|
*/
|
|
@@ -2345,7 +2345,7 @@ declare module "sweph" {
|
|
|
2345
2345
|
* ```
|
|
2346
2346
|
* ### Example
|
|
2347
2347
|
* ```
|
|
2348
|
-
* const distance =
|
|
2348
|
+
* const distance = difdegn(120, 130); // 350
|
|
2349
2349
|
* ```
|
|
2350
2350
|
*
|
|
2351
2351
|
*/
|
|
@@ -4651,7 +4651,10 @@ declare module "sweph" {
|
|
|
4651
4651
|
|
|
4652
4652
|
/**
|
|
4653
4653
|
* ### Description
|
|
4654
|
-
* Convert local time
|
|
4654
|
+
* Convert between local time and UTC using a timezone offset.
|
|
4655
|
+
* For time zones east of Greenwich, d_timezone should be positive.
|
|
4656
|
+
* For time zones west of Greenwich, d_timezone should be negative.
|
|
4657
|
+
* To convert from UTC back to local time, invert d_timezone's sign.
|
|
4655
4658
|
* ### Params
|
|
4656
4659
|
* ```
|
|
4657
4660
|
* • iyear: number // Full year
|
|
@@ -4660,7 +4663,7 @@ declare module "sweph" {
|
|
|
4660
4663
|
* • ihour: number // Hour (0-23)
|
|
4661
4664
|
* • imin: number // Minute (0-59)
|
|
4662
4665
|
* • dsec: number // Seconds including fraction (0-59.99999)
|
|
4663
|
-
* • d_timezone: number // Timezone offset in decimal hours (0-23.99999)
|
|
4666
|
+
* • d_timezone: number // Timezone offset in decimal hours (0-23.99999), positive or negative
|
|
4664
4667
|
* ```
|
|
4665
4668
|
* ### Returns
|
|
4666
4669
|
* ```
|
package/package.json
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sweph",
|
|
3
|
-
"version": "2.10.3-
|
|
3
|
+
"version": "2.10.3-4",
|
|
4
4
|
"description": "The definitive Swiss Ephemeris bindings for Node.js",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"typings": "./index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
"require": "./index.js",
|
|
9
|
-
"import": "./index.mjs"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"test": "echo \"Error: no test specified\" && exit 0"
|
|
13
|
-
},
|
|
14
|
-
"repository": {
|
|
15
|
-
"url": "https://github.com/timotejroiko/sweph.git"
|
|
16
|
-
},
|
|
17
5
|
"keywords": [
|
|
18
6
|
"sweph",
|
|
19
7
|
"swiss",
|
|
@@ -23,17 +11,42 @@
|
|
|
23
11
|
"swisseph",
|
|
24
12
|
"node"
|
|
25
13
|
],
|
|
14
|
+
"homepage": "https://github.com/timotejroiko/sweph",
|
|
26
15
|
"bugs": "https://github.com/timotejroiko/sweph/issues",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/timotejroiko/sweph.git"
|
|
19
|
+
},
|
|
20
|
+
"funding": "https://github.com/timotejroiko/sweph?sponsor=1",
|
|
21
|
+
"license": "(AGPL-3.0-or-later OR LGPL-3.0-or-later)",
|
|
22
|
+
"author": "Timotej Valentin Rojko",
|
|
23
|
+
"exports": {
|
|
24
|
+
"require": "./index.js",
|
|
25
|
+
"import": "./index.mjs",
|
|
26
|
+
"types": "./index.d.ts"
|
|
27
|
+
},
|
|
28
|
+
"main": "index.js",
|
|
29
|
+
"types": "./index.d.ts",
|
|
30
|
+
"files": [
|
|
31
|
+
"./index.js",
|
|
32
|
+
"./index.mjs",
|
|
33
|
+
"./index.d.ts",
|
|
34
|
+
"./constants.js",
|
|
35
|
+
"./binding.gyp",
|
|
36
|
+
"./swisseph",
|
|
37
|
+
"./src/functions",
|
|
38
|
+
"./src/sweph.cpp",
|
|
39
|
+
"./src/sweph.h"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"preinstall": "node -e \"const { readdirSync, readFileSync, writeFileSync } = require('fs'); const file = readdirSync('./src/functions').map((x,i) => readFileSync('./src/functions/' + x, 'utf8').replace(/args/g, 'args' + i).replace('#include <sweph.h>', '')).reduce((a,b) => a + b, '#include <sweph.h>'); writeFileSync('./src/functions.cpp', file, 'utf8');\"",
|
|
43
|
+
"install": "node-gyp rebuild && npm run test",
|
|
44
|
+
"test": "node -e \"const s = require('./'); const c = s.calc(2222222,0,4); console.log('OK')\""
|
|
45
|
+
},
|
|
27
46
|
"dependencies": {
|
|
28
47
|
"node-addon-api": "*"
|
|
29
48
|
},
|
|
30
|
-
"funding": {
|
|
31
|
-
"type": "patreon",
|
|
32
|
-
"url": "https://patreon.com/timotejroiko"
|
|
33
|
-
},
|
|
34
|
-
"author": "Timotej Valentin Rojko",
|
|
35
|
-
"license": "(AGPL-3.0-or-later OR LGPL-3.0-or-later)",
|
|
36
49
|
"devDependencies": {
|
|
37
|
-
"eslint": "^8.
|
|
50
|
+
"eslint": "^8.44.0"
|
|
38
51
|
}
|
|
39
52
|
}
|
package/.github/FUNDING.yml
DELETED
package/deps/swisseph.gyp
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"targets": [
|
|
3
|
-
{
|
|
4
|
-
"target_name": "swisseph",
|
|
5
|
-
"type": "static_library",
|
|
6
|
-
"direct_dependent_settings": {
|
|
7
|
-
"include_dirs": [
|
|
8
|
-
"swisseph"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"sources": [
|
|
12
|
-
"swisseph/swecl.c",
|
|
13
|
-
"swisseph/swedate.c",
|
|
14
|
-
"swisseph/swehel.c",
|
|
15
|
-
"swisseph/swehouse.c",
|
|
16
|
-
"swisseph/swejpl.c",
|
|
17
|
-
"swisseph/swemmoon.c",
|
|
18
|
-
"swisseph/swemplan.c",
|
|
19
|
-
"swisseph/sweph.c",
|
|
20
|
-
"swisseph/swephlib.c"
|
|
21
|
-
],
|
|
22
|
-
"cflags": [
|
|
23
|
-
"-flto",
|
|
24
|
-
"-Ofast",
|
|
25
|
-
"-pipe"
|
|
26
|
-
],
|
|
27
|
-
"cflags_cc": [
|
|
28
|
-
"-flto",
|
|
29
|
-
"-Ofast",
|
|
30
|
-
"-pipe"
|
|
31
|
-
],
|
|
32
|
-
"msvs_settings": {
|
|
33
|
-
"VCCLCompilerTool": {
|
|
34
|
-
"AdditionalOptions": [
|
|
35
|
-
"/O2",
|
|
36
|
-
"/GL",
|
|
37
|
-
"/Gw"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
}
|
package/docs.gif
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|