sweph 2.10.3-1 → 2.10.3-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 +12 -11
- package/deps/swisseph/swecl.c +6430 -6430
- package/deps/swisseph/swehouse.c +3140 -3140
- package/deps/swisseph/sweph.c +8615 -8615
- package/deps/swisseph/sweph.h +849 -849
- package/deps/swisseph/swephexp.h +1025 -1025
- package/deps/swisseph/swephlib.c +4634 -4634
- package/deps/swisseph/swephlib.h +189 -189
- package/index.d.ts +7 -7
- package/package.json +2 -2
- package/src/functions/calc.cpp +1 -1
- package/src/functions/calc_pctr.cpp +1 -1
- package/src/functions/calc_ut.cpp +1 -1
- package/src/functions/deltat_ex.cpp +1 -1
- package/src/functions/fixstar.cpp +1 -1
- package/src/functions/fixstar2.cpp +1 -1
- package/src/functions/fixstar2_mag.cpp +1 -1
- package/src/functions/fixstar2_ut.cpp +1 -1
- package/src/functions/fixstar_mag.cpp +1 -1
- package/src/functions/fixstar_ut.cpp +1 -1
- package/src/functions/gauquelin_sector.cpp +1 -1
- package/src/functions/get_ayanamsa_ex.cpp +1 -1
- package/src/functions/get_ayanamsa_ex_ut.cpp +1 -1
- package/src/functions/get_orbital_elements.cpp +1 -1
- package/src/functions/heliacal_pheno_ut.cpp +1 -1
- package/src/functions/heliacal_ut.cpp +1 -1
- package/src/functions/helio_cross.cpp +1 -1
- package/src/functions/helio_cross_ut.cpp +1 -1
- package/src/functions/house_pos.cpp +1 -1
- package/src/functions/houses_armc_ex2.cpp +1 -1
- package/src/functions/houses_ex2.cpp +1 -1
- package/src/functions/lat_to_lmt.cpp +1 -1
- package/src/functions/lmt_to_lat.cpp +1 -1
- package/src/functions/lun_eclipse_how.cpp +1 -1
- package/src/functions/lun_eclipse_when.cpp +1 -1
- package/src/functions/lun_eclipse_when_loc.cpp +1 -1
- package/src/functions/lun_occult_when_glob.cpp +1 -1
- package/src/functions/lun_occult_when_loc.cpp +1 -1
- package/src/functions/lun_occult_where.cpp +1 -1
- package/src/functions/mooncross.cpp +1 -1
- package/src/functions/mooncross_node.cpp +1 -1
- package/src/functions/mooncross_node_ut.cpp +1 -1
- package/src/functions/mooncross_ut.cpp +1 -1
- package/src/functions/nod_aps.cpp +1 -1
- package/src/functions/nod_aps_ut.cpp +1 -1
- package/src/functions/orbit_max_min_true_distance.cpp +1 -1
- package/src/functions/pheno.cpp +1 -1
- package/src/functions/pheno_ut.cpp +1 -1
- package/src/functions/rise_trans.cpp +1 -1
- package/src/functions/rise_trans_true_hor.cpp +1 -1
- package/src/functions/sol_eclipse_how.cpp +1 -1
- package/src/functions/sol_eclipse_when_glob.cpp +1 -1
- package/src/functions/sol_eclipse_when_loc.cpp +1 -1
- package/src/functions/sol_eclipse_where.cpp +1 -1
- package/src/functions/solcross.cpp +1 -1
- package/src/functions/solcross_ut.cpp +1 -1
- package/src/functions/time_equ.cpp +1 -1
- package/src/functions/utc_to_jd.cpp +1 -1
- package/src/functions/vis_limit_mag.cpp +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
4
|
+
Everything you need to create Astrology and Astronomy applications with JavaScript and node
|
|
5
5
|
|
|
6
6
|
* 100% API coverage
|
|
7
7
|
* Built-in Typescript declarations and ESM exports
|
|
@@ -9,9 +9,9 @@ Everything you need to create Astrology and Astronomy applications with javascri
|
|
|
9
9
|
* Version matched
|
|
10
10
|
* Made with the N-API
|
|
11
11
|
|
|
12
|
-
[Official
|
|
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)
|
|
14
|
-
[Sweph on
|
|
14
|
+
[Sweph on GitHub](https://github.com/timotejroiko/sweph)
|
|
15
15
|
[Sweph on NPM](https://npmjs.com/package/sweph)
|
|
16
16
|
|
|
17
17
|
## Installation and Licensing
|
|
@@ -36,7 +36,7 @@ If you own a professional license for the Swiss Ephemeris, you may use any versi
|
|
|
36
36
|
|
|
37
37
|
This library is version locked to the Swiss Ephemeris in addition to its own revisions. For example, version `2.10.1-1` corresponds to the Swiss Ephemeris version `2.10.1` and this library's revision `1`.
|
|
38
38
|
|
|
39
|
-
Updates to this library will be released under new revisions, while updates to Swiss Ephemeris will be released under matching
|
|
39
|
+
Updates to this library will be released under new revisions, while updates to Swiss Ephemeris will be released under matching SemVer versions.
|
|
40
40
|
|
|
41
41
|
## Documentation
|
|
42
42
|
|
|
@@ -61,20 +61,21 @@ For advanced usage, the following files can also be found:
|
|
|
61
61
|
|
|
62
62
|
* astxxx folders - files for individual asteroids (600 years)
|
|
63
63
|
* longfiles folder - files for individual asteroids (6000 years)
|
|
64
|
-
* jplfiles folder - files for
|
|
64
|
+
* jplfiles folder - files for NASA's JPL ephemerides
|
|
65
65
|
* sat folder - files for planetary moons
|
|
66
66
|
|
|
67
|
-
More information can be found in the [Swiss Ephemeris files documentation](https://www.astro.com/ftp/swisseph/doc/swisseph.htm
|
|
67
|
+
More information can be found in the [Swiss Ephemeris files documentation](https://www.astro.com/ftp/swisseph/doc/swisseph.htm).
|
|
68
68
|
|
|
69
69
|
## Contributing
|
|
70
70
|
|
|
71
|
-
If you find any
|
|
71
|
+
If you find any inaccuracy or bug in this library, or if you find an upstream update that is not yet included in this library, feel free to open an issue or a pull request.
|
|
72
72
|
|
|
73
|
-
##
|
|
73
|
+
## Limitations
|
|
74
74
|
|
|
75
|
-
*
|
|
76
|
-
|
|
75
|
+
* 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
|
+
|
|
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++` on Windows, and/or other equivalent solutions.
|
|
77
78
|
|
|
78
79
|
## Author
|
|
79
80
|
|
|
80
|
-
Copyright © 2021, Timotej Valentin Rojko
|
|
81
|
+
Copyright © 2021-2022, Timotej Valentin Rojko
|