@interstellar-tools/temporal 0.1.1 → 0.2.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
CHANGED
|
@@ -5,14 +5,6 @@
|
|
|
5
5
|
- [Node.js](https://nodejs.org/) version 22.9.0 or higher
|
|
6
6
|
- npm version 11.5.1 or higher
|
|
7
7
|
|
|
8
|
-
::: code-group
|
|
9
|
-
|
|
10
8
|
```shell [npm]
|
|
11
9
|
npm i --save @interstellar-tools/temporal
|
|
12
10
|
```
|
|
13
|
-
|
|
14
|
-
```shell [yarn]
|
|
15
|
-
yarn add @interstellar-tools/temporal
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
:::
|
|
@@ -25,7 +25,7 @@ import type { TemporalUnitType } from '@interstellar-tools/types';
|
|
|
25
25
|
*
|
|
26
26
|
* :::
|
|
27
27
|
*
|
|
28
|
-
* @see https://www.bipm.org/en/publications/si-brochure ([SI](https://en.wikipedia.org/wiki/International_System_of_Units) Brochure
|
|
28
|
+
* @see https://www.bipm.org/en/publications/si-brochure ([SI](https://en.wikipedia.org/wiki/International_System_of_Units) Brochure - second & day)
|
|
29
29
|
* @see https://en.wikipedia.org/wiki/Julian_year_(astronomy) (Julian year for yr/kyr/Myr/Gyr)
|
|
30
30
|
*/
|
|
31
31
|
export declare const NORMALIZE_UNIT: {
|
|
@@ -109,7 +109,7 @@ export declare const NORMALIZE_UNIT: {
|
|
|
109
109
|
* ```
|
|
110
110
|
*
|
|
111
111
|
* @see {@link NORMALIZE_UNIT} for the complete alias→canonical mapping.
|
|
112
|
-
* @see https://www.bipm.org/en/publications/si-brochure (SI Brochure
|
|
112
|
+
* @see https://www.bipm.org/en/publications/si-brochure (SI Brochure - second/day)
|
|
113
113
|
* @see https://en.wikipedia.org/wiki/Julian_year_(astronomy) (Julian year for yr/kyr/Myr/Gyr)
|
|
114
114
|
*/
|
|
115
115
|
export declare const normalizeTemporalUnit: (u: string) => TemporalUnitType;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* :::
|
|
26
26
|
*
|
|
27
|
-
* @see https://www.bipm.org/en/publications/si-brochure ([SI](https://en.wikipedia.org/wiki/International_System_of_Units) Brochure
|
|
27
|
+
* @see https://www.bipm.org/en/publications/si-brochure ([SI](https://en.wikipedia.org/wiki/International_System_of_Units) Brochure - second & day)
|
|
28
28
|
* @see https://en.wikipedia.org/wiki/Julian_year_(astronomy) (Julian year for yr/kyr/Myr/Gyr)
|
|
29
29
|
*/
|
|
30
30
|
export const NORMALIZE_UNIT = {
|
|
@@ -110,7 +110,7 @@ export const NORMALIZE_UNIT = {
|
|
|
110
110
|
* ```
|
|
111
111
|
*
|
|
112
112
|
* @see {@link NORMALIZE_UNIT} for the complete alias→canonical mapping.
|
|
113
|
-
* @see https://www.bipm.org/en/publications/si-brochure (SI Brochure
|
|
113
|
+
* @see https://www.bipm.org/en/publications/si-brochure (SI Brochure - second/day)
|
|
114
114
|
* @see https://en.wikipedia.org/wiki/Julian_year_(astronomy) (Julian year for yr/kyr/Myr/Gyr)
|
|
115
115
|
*/
|
|
116
116
|
export const normalizeTemporalUnit = (u) => {
|
package/package.json
CHANGED
|
@@ -1,9 +1,83 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interstellar-tools/temporal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "temporal",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"temporal"
|
|
6
|
+
"temporal",
|
|
7
|
+
"interstellar",
|
|
8
|
+
"tools",
|
|
9
|
+
"near",
|
|
10
|
+
"earth",
|
|
11
|
+
"objects",
|
|
12
|
+
"planets",
|
|
13
|
+
"J2000",
|
|
14
|
+
"orbit",
|
|
15
|
+
"rotation",
|
|
16
|
+
"stars",
|
|
17
|
+
"star",
|
|
18
|
+
"sun",
|
|
19
|
+
"planet",
|
|
20
|
+
"earth",
|
|
21
|
+
"moon",
|
|
22
|
+
"mercury",
|
|
23
|
+
"venus",
|
|
24
|
+
"mars",
|
|
25
|
+
"tellus",
|
|
26
|
+
"gaia",
|
|
27
|
+
"jupiter",
|
|
28
|
+
"saturn",
|
|
29
|
+
"neptune",
|
|
30
|
+
"pluto",
|
|
31
|
+
"dwarf",
|
|
32
|
+
"planets",
|
|
33
|
+
"trajectory",
|
|
34
|
+
"asteroids",
|
|
35
|
+
"comets",
|
|
36
|
+
"collision",
|
|
37
|
+
"satellite",
|
|
38
|
+
"satellites",
|
|
39
|
+
"sky map",
|
|
40
|
+
"nasa",
|
|
41
|
+
"jpl",
|
|
42
|
+
"esa",
|
|
43
|
+
"astrodynamics",
|
|
44
|
+
"orbital-mechanics",
|
|
45
|
+
"celestial-mechanics",
|
|
46
|
+
"two-body",
|
|
47
|
+
"n-body",
|
|
48
|
+
"gravity",
|
|
49
|
+
"newtonian-gravity",
|
|
50
|
+
"newtons-law-of-gravitation",
|
|
51
|
+
"gravitational-constant",
|
|
52
|
+
"G_SI",
|
|
53
|
+
"standard-gravitational-parameter",
|
|
54
|
+
"gravitational-parameter",
|
|
55
|
+
"mu",
|
|
56
|
+
"gravitational-force",
|
|
57
|
+
"gravitational-acceleration",
|
|
58
|
+
"specific-mechanical-energy",
|
|
59
|
+
"vis-viva",
|
|
60
|
+
"kepler-period",
|
|
61
|
+
"keplers-third-law",
|
|
62
|
+
"orbital-speed",
|
|
63
|
+
"trajectory",
|
|
64
|
+
"orbit",
|
|
65
|
+
"satellite",
|
|
66
|
+
"simulation",
|
|
67
|
+
"numerics",
|
|
68
|
+
"si-units",
|
|
69
|
+
"vector3",
|
|
70
|
+
"vec3",
|
|
71
|
+
"vector-math",
|
|
72
|
+
"typescript",
|
|
73
|
+
"javascript",
|
|
74
|
+
"interstellar-tools",
|
|
75
|
+
"spaceflight",
|
|
76
|
+
"space-dynamics",
|
|
77
|
+
"heliocentric",
|
|
78
|
+
"leo",
|
|
79
|
+
"geo",
|
|
80
|
+
"earth-sun"
|
|
7
81
|
],
|
|
8
82
|
"homepage": "https://phun-ky.net/projects/interstellar-tools",
|
|
9
83
|
"bugs": {
|