uom-types 5.0.1 → 5.1.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/CHANGELOG.md +7 -0
- package/dist/chunks/B2m_qd8-.mjs +252 -0
- package/dist/chunks/Cm6vkgfO.cjs +289 -0
- package/dist/chunks/nRDIxMhl.mjs +483 -0
- package/dist/chunks/ph65nozB.cjs +564 -0
- package/dist/converters.cjs +87 -0
- package/dist/converters.d.cts +569 -0
- package/dist/converters.d.mts +569 -0
- package/dist/converters.mjs +2 -0
- package/dist/index.cjs +118 -844
- package/dist/index.d.cts +72 -72
- package/dist/index.d.mts +72 -72
- package/dist/index.mjs +2 -732
- package/dist/math.cjs +42 -0
- package/dist/math.d.cts +458 -0
- package/dist/math.d.mts +458 -0
- package/dist/math.mjs +1 -0
- package/dist/types.d.cts +247 -0
- package/dist/types.d.mts +247 -0
- package/dist/units.d.cts +3603 -0
- package/dist/units.d.mts +3603 -0
- package/package.json +92 -71
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = /*@__PURE__*/require('./Cm6vkgfO.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Convert {@link Radian} to {@link Degree}.
|
|
7
|
+
*/
|
|
8
|
+
function radiansToDegrees(angle) {
|
|
9
|
+
return index.mul(angle, (180 / Math.PI));
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Convert {@link Radian} to {@link Gradian}.
|
|
13
|
+
*/
|
|
14
|
+
function radiansToGradians(angle) {
|
|
15
|
+
return index.mul(angle, (200 / Math.PI));
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Convert {@link Radian} to {@link Turn}.
|
|
19
|
+
*/
|
|
20
|
+
function radiansToTurns(angle) {
|
|
21
|
+
return index.div(angle, Math.PI);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Convert {@link Degree} to {@link Radian}.
|
|
25
|
+
*/
|
|
26
|
+
function degreesToRadians(angle) {
|
|
27
|
+
return index.mul(angle, (Math.PI / 180));
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Convert {@link Degree} to {@link Gradian}.
|
|
31
|
+
*/
|
|
32
|
+
function degreesToGradians(angle) {
|
|
33
|
+
return index.mul(angle, (10 / 9));
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Convert {@link Degree} to {@link Turn}.
|
|
37
|
+
*/
|
|
38
|
+
function degreesToTurns(angle) {
|
|
39
|
+
return index.div(angle, 360);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Convert {@link Gradian} to {@link Radian}.
|
|
43
|
+
*/
|
|
44
|
+
function gradiansToRadians(angle) {
|
|
45
|
+
return index.mul(angle, (Math.PI / 400));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Convert {@link Gradian} to {@link Degree}.
|
|
49
|
+
*/
|
|
50
|
+
function gradiansToDegrees(angle) {
|
|
51
|
+
return index.mul(angle, (9 / 10));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Convert {@link Gradian} to {@link Turn}.
|
|
55
|
+
*/
|
|
56
|
+
function gradiansToTurns(angle) {
|
|
57
|
+
return index.div(angle, 400);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Convert {@link Turn} to {@link Radian}.
|
|
61
|
+
*/
|
|
62
|
+
function turnsToRadians(angle) {
|
|
63
|
+
return index.mul(angle, (2 * Math.PI));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Convert {@link Turn} to {@link Degree}.
|
|
67
|
+
*/
|
|
68
|
+
function turnsToDegrees(angle) {
|
|
69
|
+
return index.mul(angle, 360);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Convert {@link Turn} to {@link Gradian}.
|
|
73
|
+
*/
|
|
74
|
+
function turnsToGradians(angle) {
|
|
75
|
+
return index.mul(angle, 400);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Convert {@link Square}<{@link Meter}> to {@link Are}.
|
|
80
|
+
*/
|
|
81
|
+
function squareMetersToAres(area) {
|
|
82
|
+
return index.div(area, 100);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Convert {@link Square}<{@link Meter}> to {@link Hectare}.
|
|
86
|
+
*/
|
|
87
|
+
function squareMetersToHectares(area) {
|
|
88
|
+
return index.div(area, 10_000);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Convert {@link Are} to {@link Square}<{@link Meter}>.
|
|
92
|
+
*/
|
|
93
|
+
function aresToSquareMeters(area) {
|
|
94
|
+
return index.mul(area, 100);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Convert {@link Are} to {@link Hectare}.
|
|
98
|
+
*/
|
|
99
|
+
function aresToHectares(area) {
|
|
100
|
+
return index.div(area, 100);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Convert {@link Hectare} to {@link Square}<{@link Meter}>.
|
|
104
|
+
*/
|
|
105
|
+
function hectaresToSquareMeters(area) {
|
|
106
|
+
return index.mul(area, 10_000);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Convert {@link Hectare} to {@link Are}.
|
|
110
|
+
*/
|
|
111
|
+
function hectaresToAres(area) {
|
|
112
|
+
return index.mul(area, 100);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Convert {@link Second} to {@link Minute}.
|
|
117
|
+
*/
|
|
118
|
+
function secondsToMinutes(duration) {
|
|
119
|
+
return index.div(duration, 60);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Convert {@link Second} to {@link Hour}.
|
|
123
|
+
*/
|
|
124
|
+
function secondsToHours(duration) {
|
|
125
|
+
return index.div(duration, 3600);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Convert {@link Minute} to {@link Second}.
|
|
129
|
+
*/
|
|
130
|
+
function minutesToSeconds(duration) {
|
|
131
|
+
return index.mul(duration, 60);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Convert {@link Minute} to {@link Hour}.
|
|
135
|
+
*/
|
|
136
|
+
function minutesToHours(duration) {
|
|
137
|
+
return index.div(duration, 60);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Convert {@link Hour} to {@link Second}.
|
|
141
|
+
*/
|
|
142
|
+
function hoursToSeconds(duration) {
|
|
143
|
+
return index.mul(duration, 3600);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Convert {@link Hour} to {@link Minute}.
|
|
147
|
+
*/
|
|
148
|
+
function hoursToMinutes(duration) {
|
|
149
|
+
return index.mul(duration, 60);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Convert {@link Hour} to {@link Day}.
|
|
153
|
+
*/
|
|
154
|
+
function hoursToDays(duration) {
|
|
155
|
+
return index.div(duration, 24);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Convert {@link Day} to {@link Hour}.
|
|
159
|
+
*/
|
|
160
|
+
function daysToHours(duration) {
|
|
161
|
+
return index.mul(duration, 24);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Convert {@link Day} to {@link Week}.
|
|
165
|
+
*/
|
|
166
|
+
function daysToWeeks(duration) {
|
|
167
|
+
return index.div(duration, 7);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Convert {@link Day} to {@link Year}.
|
|
171
|
+
*
|
|
172
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
173
|
+
* Use an actual date/time library if you need more control.
|
|
174
|
+
*/
|
|
175
|
+
function daysToYears(duration) {
|
|
176
|
+
return index.div(duration, 365.25);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Convert {@link Week} to {@link Day}.
|
|
180
|
+
*/
|
|
181
|
+
function weeksToDays(duration) {
|
|
182
|
+
return index.mul(duration, 7);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Convert {@link Week} to {@link Year}.
|
|
186
|
+
*/
|
|
187
|
+
function weeksToYears(duration) {
|
|
188
|
+
return daysToYears(weeksToDays(duration));
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Convert {@link Year} to {@link Day}.
|
|
192
|
+
*
|
|
193
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
194
|
+
* Use an actual date/time library if you need more control.
|
|
195
|
+
*/
|
|
196
|
+
function yearsToDays(duration) {
|
|
197
|
+
return index.mul(duration, 365.25);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Convert {@link Year} to {@link Week}.
|
|
201
|
+
*/
|
|
202
|
+
function yearsToWeeks(duration) {
|
|
203
|
+
return daysToWeeks(yearsToDays(duration));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Convert {@link Joule} to {@link WattMinute}.
|
|
208
|
+
*/
|
|
209
|
+
function joulesToWattMinutes(energy) {
|
|
210
|
+
return index.div(energy, 60);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Convert {@link Joule} to {@link WattHour}.
|
|
214
|
+
*/
|
|
215
|
+
function joulesToWattHours(energy) {
|
|
216
|
+
return index.div(energy, 3600);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Convert {@link WattMinute} to {@link Joule}.
|
|
220
|
+
*/
|
|
221
|
+
function wattMinutesToJoules(energy) {
|
|
222
|
+
return index.mul(energy, 60);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Convert {@link WattHour} to {@link Joule}.
|
|
226
|
+
*/
|
|
227
|
+
function wattHoursToJoules(energy) {
|
|
228
|
+
return index.mul(energy, 3600);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Convert {@link Hertz} to {@link PerMinute}.
|
|
233
|
+
*/
|
|
234
|
+
function hertzToPerMinute(frequency) {
|
|
235
|
+
return index.mul(frequency, 60);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Convert {@link Hertz} to {@link PerHour}.
|
|
239
|
+
*/
|
|
240
|
+
function hertzToPerHour(frequency) {
|
|
241
|
+
return index.mul(frequency, 3600);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Convert {@link PerMinute} to {@link Hertz}.
|
|
245
|
+
*/
|
|
246
|
+
function perMinuteToHertz(frequency) {
|
|
247
|
+
return index.div(frequency, 60);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Convert {@link PerMinute} to {@link PerHour}.
|
|
251
|
+
*/
|
|
252
|
+
function perMinuteToPerHour(frequency) {
|
|
253
|
+
return index.mul(frequency, 60);
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Convert {@link PerHour} to {@link Hertz}.
|
|
257
|
+
*/
|
|
258
|
+
function perHourToHertz(frequency) {
|
|
259
|
+
return index.div(frequency, 3600);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Convert {@link PerHour} to {@link PerMinute}.
|
|
263
|
+
*/
|
|
264
|
+
function perHourToPerMinute(frequency) {
|
|
265
|
+
return index.div(frequency, 60);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Convert {@link PerHour} to {@link PerDay}.
|
|
269
|
+
*/
|
|
270
|
+
function perHourToPerDay(frequency) {
|
|
271
|
+
return index.mul(frequency, 24);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Convert {@link PerDay} to {@link PerHour}.
|
|
275
|
+
*/
|
|
276
|
+
function perDayToPerHour(frequency) {
|
|
277
|
+
return index.div(frequency, 24);
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Convert {@link PerDay} to {@link PerWeek}.
|
|
281
|
+
*/
|
|
282
|
+
function perDayToPerWeek(frequency) {
|
|
283
|
+
return index.mul(frequency, 7);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Convert {@link PerDay} to {@link PerYear}.
|
|
287
|
+
*
|
|
288
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
289
|
+
* Use an actual date/time library if you need more control.
|
|
290
|
+
*/
|
|
291
|
+
function perDayToPerYear(frequency) {
|
|
292
|
+
return index.mul(frequency, 365.25);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Convert {@link PerWeek} to {@link PerDay}.
|
|
296
|
+
*/
|
|
297
|
+
function perWeekToPerDay(frequency) {
|
|
298
|
+
return index.div(frequency, 7);
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Convert {@link PerWeek} to {@link PerYear}.
|
|
302
|
+
*/
|
|
303
|
+
function perWeekToPerYear(frequency) {
|
|
304
|
+
return perDayToPerYear(perWeekToPerDay(frequency));
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Convert {@link PerYear} to {@link PerDay}.
|
|
308
|
+
*
|
|
309
|
+
* This function assume that one year is equal to 365.25 Day.
|
|
310
|
+
* Use an actual date/time library if you need more control.
|
|
311
|
+
*/
|
|
312
|
+
function perYearToPerDay(frequency) {
|
|
313
|
+
return index.div(frequency, 365.25);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Convert {@link PerYear} to {@link PerWeek}.
|
|
317
|
+
*/
|
|
318
|
+
function perYearToPerWeek(frequency) {
|
|
319
|
+
return perDayToPerWeek(perYearToPerDay(frequency));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Convert {@link Gram} to {@link Tonne}.
|
|
324
|
+
*/
|
|
325
|
+
function gramsToTonnes(mass) {
|
|
326
|
+
return index.div(mass, 1_000_000);
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Convert {@link Tonne} to {@link Gram}.
|
|
330
|
+
*/
|
|
331
|
+
function tonnesToGrams(mass) {
|
|
332
|
+
return index.mul(mass, 1_000_000);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @file Autogenerated File - Don't manually edit.
|
|
337
|
+
*/
|
|
338
|
+
/**
|
|
339
|
+
* Convert `X` to `dekaX`.
|
|
340
|
+
*/
|
|
341
|
+
function toDeka(value) {
|
|
342
|
+
return index.mul(value, 10);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Convert `dekaX` to `X`.
|
|
346
|
+
*/
|
|
347
|
+
const fromDeka = toDeci;
|
|
348
|
+
/**
|
|
349
|
+
* Convert `X` to `deciX`.
|
|
350
|
+
*/
|
|
351
|
+
function toDeci(value) {
|
|
352
|
+
return index.div(value, 10);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Convert `deciX` to `X`.
|
|
356
|
+
*/
|
|
357
|
+
const fromDeci = toDeka;
|
|
358
|
+
/**
|
|
359
|
+
* Convert `X` to `hectoX`.
|
|
360
|
+
*/
|
|
361
|
+
function toHecto(value) {
|
|
362
|
+
return index.mul(value, 100);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Convert `hectoX` to `X`.
|
|
366
|
+
*/
|
|
367
|
+
const fromHecto = toCenti;
|
|
368
|
+
/**
|
|
369
|
+
* Convert `X` to `centiX`.
|
|
370
|
+
*/
|
|
371
|
+
function toCenti(value) {
|
|
372
|
+
return index.div(value, 100);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Convert `centiX` to `X`.
|
|
376
|
+
*/
|
|
377
|
+
const fromCenti = toHecto;
|
|
378
|
+
/**
|
|
379
|
+
* Convert `X` to `kiloX`.
|
|
380
|
+
*/
|
|
381
|
+
function toKilo(value) {
|
|
382
|
+
return index.mul(value, 1000);
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Convert `kiloX` to `X`.
|
|
386
|
+
*/
|
|
387
|
+
const fromKilo = toMilli;
|
|
388
|
+
/**
|
|
389
|
+
* Convert `X` to `milliX`.
|
|
390
|
+
*/
|
|
391
|
+
function toMilli(value) {
|
|
392
|
+
return index.div(value, 1000);
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Convert `milliX` to `X`.
|
|
396
|
+
*/
|
|
397
|
+
const fromMilli = toKilo;
|
|
398
|
+
/**
|
|
399
|
+
* Convert `X` to `megaX`.
|
|
400
|
+
*/
|
|
401
|
+
function toMega(value) {
|
|
402
|
+
return index.mul(value, 1000000);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Convert `megaX` to `X`.
|
|
406
|
+
*/
|
|
407
|
+
const fromMega = toMicro;
|
|
408
|
+
/**
|
|
409
|
+
* Convert `X` to `microX`.
|
|
410
|
+
*/
|
|
411
|
+
function toMicro(value) {
|
|
412
|
+
return index.div(value, 1000000);
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Convert `microX` to `X`.
|
|
416
|
+
*/
|
|
417
|
+
const fromMicro = toMega;
|
|
418
|
+
/**
|
|
419
|
+
* Convert `X` to `gigaX`.
|
|
420
|
+
*/
|
|
421
|
+
function toGiga(value) {
|
|
422
|
+
return index.mul(value, 1000000000);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Convert `gigaX` to `X`.
|
|
426
|
+
*/
|
|
427
|
+
const fromGiga = toNano;
|
|
428
|
+
/**
|
|
429
|
+
* Convert `X` to `nanoX`.
|
|
430
|
+
*/
|
|
431
|
+
function toNano(value) {
|
|
432
|
+
return index.div(value, 1000000000);
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Convert `nanoX` to `X`.
|
|
436
|
+
*/
|
|
437
|
+
const fromNano = toGiga;
|
|
438
|
+
/**
|
|
439
|
+
* Convert `X` to `teraX`.
|
|
440
|
+
*/
|
|
441
|
+
function toTera(value) {
|
|
442
|
+
return index.mul(value, 1000000000000);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Convert `teraX` to `X`.
|
|
446
|
+
*/
|
|
447
|
+
const fromTera = toPico;
|
|
448
|
+
/**
|
|
449
|
+
* Convert `X` to `picoX`.
|
|
450
|
+
*/
|
|
451
|
+
function toPico(value) {
|
|
452
|
+
return index.div(value, 1000000000000);
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Convert `picoX` to `X`.
|
|
456
|
+
*/
|
|
457
|
+
const fromPico = toTera;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Convert {@link Celsius} to {@link Kelvin}.
|
|
461
|
+
*/
|
|
462
|
+
function celsiusToKelvin(temperature) {
|
|
463
|
+
return (temperature - 273.15);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Convert {@link Kelvin} to {@link Celsius}.
|
|
467
|
+
*/
|
|
468
|
+
function kelvinToCelsius(temperature) {
|
|
469
|
+
return (temperature + 273.15);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Convert {@link Cubic}<{@link Meter}> to {@link Liter}.
|
|
474
|
+
*/
|
|
475
|
+
function cubicMetersToLiters(volume) {
|
|
476
|
+
return index.mul(volume, 1000);
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Convert {@link Liter} to {@link Cubic}<{@link Meter}>.
|
|
480
|
+
*/
|
|
481
|
+
function litersToCubicMeters(volume) {
|
|
482
|
+
return index.div(volume, 1000);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
exports.aresToHectares = aresToHectares;
|
|
486
|
+
exports.aresToSquareMeters = aresToSquareMeters;
|
|
487
|
+
exports.celsiusToKelvin = celsiusToKelvin;
|
|
488
|
+
exports.cubicMetersToLiters = cubicMetersToLiters;
|
|
489
|
+
exports.daysToHours = daysToHours;
|
|
490
|
+
exports.daysToWeeks = daysToWeeks;
|
|
491
|
+
exports.daysToYears = daysToYears;
|
|
492
|
+
exports.degreesToGradians = degreesToGradians;
|
|
493
|
+
exports.degreesToRadians = degreesToRadians;
|
|
494
|
+
exports.degreesToTurns = degreesToTurns;
|
|
495
|
+
exports.fromCenti = fromCenti;
|
|
496
|
+
exports.fromDeci = fromDeci;
|
|
497
|
+
exports.fromDeka = fromDeka;
|
|
498
|
+
exports.fromGiga = fromGiga;
|
|
499
|
+
exports.fromHecto = fromHecto;
|
|
500
|
+
exports.fromKilo = fromKilo;
|
|
501
|
+
exports.fromMega = fromMega;
|
|
502
|
+
exports.fromMicro = fromMicro;
|
|
503
|
+
exports.fromMilli = fromMilli;
|
|
504
|
+
exports.fromNano = fromNano;
|
|
505
|
+
exports.fromPico = fromPico;
|
|
506
|
+
exports.fromTera = fromTera;
|
|
507
|
+
exports.gradiansToDegrees = gradiansToDegrees;
|
|
508
|
+
exports.gradiansToRadians = gradiansToRadians;
|
|
509
|
+
exports.gradiansToTurns = gradiansToTurns;
|
|
510
|
+
exports.gramsToTonnes = gramsToTonnes;
|
|
511
|
+
exports.hectaresToAres = hectaresToAres;
|
|
512
|
+
exports.hectaresToSquareMeters = hectaresToSquareMeters;
|
|
513
|
+
exports.hertzToPerHour = hertzToPerHour;
|
|
514
|
+
exports.hertzToPerMinute = hertzToPerMinute;
|
|
515
|
+
exports.hoursToDays = hoursToDays;
|
|
516
|
+
exports.hoursToMinutes = hoursToMinutes;
|
|
517
|
+
exports.hoursToSeconds = hoursToSeconds;
|
|
518
|
+
exports.joulesToWattHours = joulesToWattHours;
|
|
519
|
+
exports.joulesToWattMinutes = joulesToWattMinutes;
|
|
520
|
+
exports.kelvinToCelsius = kelvinToCelsius;
|
|
521
|
+
exports.litersToCubicMeters = litersToCubicMeters;
|
|
522
|
+
exports.minutesToHours = minutesToHours;
|
|
523
|
+
exports.minutesToSeconds = minutesToSeconds;
|
|
524
|
+
exports.perDayToPerHour = perDayToPerHour;
|
|
525
|
+
exports.perDayToPerWeek = perDayToPerWeek;
|
|
526
|
+
exports.perDayToPerYear = perDayToPerYear;
|
|
527
|
+
exports.perHourToHertz = perHourToHertz;
|
|
528
|
+
exports.perHourToPerDay = perHourToPerDay;
|
|
529
|
+
exports.perHourToPerMinute = perHourToPerMinute;
|
|
530
|
+
exports.perMinuteToHertz = perMinuteToHertz;
|
|
531
|
+
exports.perMinuteToPerHour = perMinuteToPerHour;
|
|
532
|
+
exports.perWeekToPerDay = perWeekToPerDay;
|
|
533
|
+
exports.perWeekToPerYear = perWeekToPerYear;
|
|
534
|
+
exports.perYearToPerDay = perYearToPerDay;
|
|
535
|
+
exports.perYearToPerWeek = perYearToPerWeek;
|
|
536
|
+
exports.radiansToDegrees = radiansToDegrees;
|
|
537
|
+
exports.radiansToGradians = radiansToGradians;
|
|
538
|
+
exports.radiansToTurns = radiansToTurns;
|
|
539
|
+
exports.secondsToHours = secondsToHours;
|
|
540
|
+
exports.secondsToMinutes = secondsToMinutes;
|
|
541
|
+
exports.squareMetersToAres = squareMetersToAres;
|
|
542
|
+
exports.squareMetersToHectares = squareMetersToHectares;
|
|
543
|
+
exports.toCenti = toCenti;
|
|
544
|
+
exports.toDeci = toDeci;
|
|
545
|
+
exports.toDeka = toDeka;
|
|
546
|
+
exports.toGiga = toGiga;
|
|
547
|
+
exports.toHecto = toHecto;
|
|
548
|
+
exports.toKilo = toKilo;
|
|
549
|
+
exports.toMega = toMega;
|
|
550
|
+
exports.toMicro = toMicro;
|
|
551
|
+
exports.toMilli = toMilli;
|
|
552
|
+
exports.toNano = toNano;
|
|
553
|
+
exports.toPico = toPico;
|
|
554
|
+
exports.toTera = toTera;
|
|
555
|
+
exports.tonnesToGrams = tonnesToGrams;
|
|
556
|
+
exports.turnsToDegrees = turnsToDegrees;
|
|
557
|
+
exports.turnsToGradians = turnsToGradians;
|
|
558
|
+
exports.turnsToRadians = turnsToRadians;
|
|
559
|
+
exports.wattHoursToJoules = wattHoursToJoules;
|
|
560
|
+
exports.wattMinutesToJoules = wattMinutesToJoules;
|
|
561
|
+
exports.weeksToDays = weeksToDays;
|
|
562
|
+
exports.weeksToYears = weeksToYears;
|
|
563
|
+
exports.yearsToDays = yearsToDays;
|
|
564
|
+
exports.yearsToWeeks = yearsToWeeks;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var volume = /*@__PURE__*/require('./chunks/ph65nozB.cjs');
|
|
4
|
+
/*@__PURE__*/require('./chunks/Cm6vkgfO.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.aresToHectares = /*@__PURE__*/(()=>(volume.aresToHectares))();
|
|
9
|
+
exports.aresToSquareMeters = /*@__PURE__*/(()=>(volume.aresToSquareMeters))();
|
|
10
|
+
exports.celsiusToKelvin = /*@__PURE__*/(()=>(volume.celsiusToKelvin))();
|
|
11
|
+
exports.cubicMetersToLiters = /*@__PURE__*/(()=>(volume.cubicMetersToLiters))();
|
|
12
|
+
exports.daysToHours = /*@__PURE__*/(()=>(volume.daysToHours))();
|
|
13
|
+
exports.daysToWeeks = /*@__PURE__*/(()=>(volume.daysToWeeks))();
|
|
14
|
+
exports.daysToYears = /*@__PURE__*/(()=>(volume.daysToYears))();
|
|
15
|
+
exports.degreesToGradians = /*@__PURE__*/(()=>(volume.degreesToGradians))();
|
|
16
|
+
exports.degreesToRadians = /*@__PURE__*/(()=>(volume.degreesToRadians))();
|
|
17
|
+
exports.degreesToTurns = /*@__PURE__*/(()=>(volume.degreesToTurns))();
|
|
18
|
+
exports.fromCenti = /*@__PURE__*/(()=>(volume.fromCenti))();
|
|
19
|
+
exports.fromDeci = /*@__PURE__*/(()=>(volume.fromDeci))();
|
|
20
|
+
exports.fromDeka = /*@__PURE__*/(()=>(volume.fromDeka))();
|
|
21
|
+
exports.fromGiga = /*@__PURE__*/(()=>(volume.fromGiga))();
|
|
22
|
+
exports.fromHecto = /*@__PURE__*/(()=>(volume.fromHecto))();
|
|
23
|
+
exports.fromKilo = /*@__PURE__*/(()=>(volume.fromKilo))();
|
|
24
|
+
exports.fromMega = /*@__PURE__*/(()=>(volume.fromMega))();
|
|
25
|
+
exports.fromMicro = /*@__PURE__*/(()=>(volume.fromMicro))();
|
|
26
|
+
exports.fromMilli = /*@__PURE__*/(()=>(volume.fromMilli))();
|
|
27
|
+
exports.fromNano = /*@__PURE__*/(()=>(volume.fromNano))();
|
|
28
|
+
exports.fromPico = /*@__PURE__*/(()=>(volume.fromPico))();
|
|
29
|
+
exports.fromTera = /*@__PURE__*/(()=>(volume.fromTera))();
|
|
30
|
+
exports.gradiansToDegrees = /*@__PURE__*/(()=>(volume.gradiansToDegrees))();
|
|
31
|
+
exports.gradiansToRadians = /*@__PURE__*/(()=>(volume.gradiansToRadians))();
|
|
32
|
+
exports.gradiansToTurns = /*@__PURE__*/(()=>(volume.gradiansToTurns))();
|
|
33
|
+
exports.gramsToTonnes = /*@__PURE__*/(()=>(volume.gramsToTonnes))();
|
|
34
|
+
exports.hectaresToAres = /*@__PURE__*/(()=>(volume.hectaresToAres))();
|
|
35
|
+
exports.hectaresToSquareMeters = /*@__PURE__*/(()=>(volume.hectaresToSquareMeters))();
|
|
36
|
+
exports.hertzToPerHour = /*@__PURE__*/(()=>(volume.hertzToPerHour))();
|
|
37
|
+
exports.hertzToPerMinute = /*@__PURE__*/(()=>(volume.hertzToPerMinute))();
|
|
38
|
+
exports.hoursToDays = /*@__PURE__*/(()=>(volume.hoursToDays))();
|
|
39
|
+
exports.hoursToMinutes = /*@__PURE__*/(()=>(volume.hoursToMinutes))();
|
|
40
|
+
exports.hoursToSeconds = /*@__PURE__*/(()=>(volume.hoursToSeconds))();
|
|
41
|
+
exports.joulesToWattHours = /*@__PURE__*/(()=>(volume.joulesToWattHours))();
|
|
42
|
+
exports.joulesToWattMinutes = /*@__PURE__*/(()=>(volume.joulesToWattMinutes))();
|
|
43
|
+
exports.kelvinToCelsius = /*@__PURE__*/(()=>(volume.kelvinToCelsius))();
|
|
44
|
+
exports.litersToCubicMeters = /*@__PURE__*/(()=>(volume.litersToCubicMeters))();
|
|
45
|
+
exports.minutesToHours = /*@__PURE__*/(()=>(volume.minutesToHours))();
|
|
46
|
+
exports.minutesToSeconds = /*@__PURE__*/(()=>(volume.minutesToSeconds))();
|
|
47
|
+
exports.perDayToPerHour = /*@__PURE__*/(()=>(volume.perDayToPerHour))();
|
|
48
|
+
exports.perDayToPerWeek = /*@__PURE__*/(()=>(volume.perDayToPerWeek))();
|
|
49
|
+
exports.perDayToPerYear = /*@__PURE__*/(()=>(volume.perDayToPerYear))();
|
|
50
|
+
exports.perHourToHertz = /*@__PURE__*/(()=>(volume.perHourToHertz))();
|
|
51
|
+
exports.perHourToPerDay = /*@__PURE__*/(()=>(volume.perHourToPerDay))();
|
|
52
|
+
exports.perHourToPerMinute = /*@__PURE__*/(()=>(volume.perHourToPerMinute))();
|
|
53
|
+
exports.perMinuteToHertz = /*@__PURE__*/(()=>(volume.perMinuteToHertz))();
|
|
54
|
+
exports.perMinuteToPerHour = /*@__PURE__*/(()=>(volume.perMinuteToPerHour))();
|
|
55
|
+
exports.perWeekToPerDay = /*@__PURE__*/(()=>(volume.perWeekToPerDay))();
|
|
56
|
+
exports.perWeekToPerYear = /*@__PURE__*/(()=>(volume.perWeekToPerYear))();
|
|
57
|
+
exports.perYearToPerDay = /*@__PURE__*/(()=>(volume.perYearToPerDay))();
|
|
58
|
+
exports.perYearToPerWeek = /*@__PURE__*/(()=>(volume.perYearToPerWeek))();
|
|
59
|
+
exports.radiansToDegrees = /*@__PURE__*/(()=>(volume.radiansToDegrees))();
|
|
60
|
+
exports.radiansToGradians = /*@__PURE__*/(()=>(volume.radiansToGradians))();
|
|
61
|
+
exports.radiansToTurns = /*@__PURE__*/(()=>(volume.radiansToTurns))();
|
|
62
|
+
exports.secondsToHours = /*@__PURE__*/(()=>(volume.secondsToHours))();
|
|
63
|
+
exports.secondsToMinutes = /*@__PURE__*/(()=>(volume.secondsToMinutes))();
|
|
64
|
+
exports.squareMetersToAres = /*@__PURE__*/(()=>(volume.squareMetersToAres))();
|
|
65
|
+
exports.squareMetersToHectares = /*@__PURE__*/(()=>(volume.squareMetersToHectares))();
|
|
66
|
+
exports.toCenti = /*@__PURE__*/(()=>(volume.toCenti))();
|
|
67
|
+
exports.toDeci = /*@__PURE__*/(()=>(volume.toDeci))();
|
|
68
|
+
exports.toDeka = /*@__PURE__*/(()=>(volume.toDeka))();
|
|
69
|
+
exports.toGiga = /*@__PURE__*/(()=>(volume.toGiga))();
|
|
70
|
+
exports.toHecto = /*@__PURE__*/(()=>(volume.toHecto))();
|
|
71
|
+
exports.toKilo = /*@__PURE__*/(()=>(volume.toKilo))();
|
|
72
|
+
exports.toMega = /*@__PURE__*/(()=>(volume.toMega))();
|
|
73
|
+
exports.toMicro = /*@__PURE__*/(()=>(volume.toMicro))();
|
|
74
|
+
exports.toMilli = /*@__PURE__*/(()=>(volume.toMilli))();
|
|
75
|
+
exports.toNano = /*@__PURE__*/(()=>(volume.toNano))();
|
|
76
|
+
exports.toPico = /*@__PURE__*/(()=>(volume.toPico))();
|
|
77
|
+
exports.toTera = /*@__PURE__*/(()=>(volume.toTera))();
|
|
78
|
+
exports.tonnesToGrams = /*@__PURE__*/(()=>(volume.tonnesToGrams))();
|
|
79
|
+
exports.turnsToDegrees = /*@__PURE__*/(()=>(volume.turnsToDegrees))();
|
|
80
|
+
exports.turnsToGradians = /*@__PURE__*/(()=>(volume.turnsToGradians))();
|
|
81
|
+
exports.turnsToRadians = /*@__PURE__*/(()=>(volume.turnsToRadians))();
|
|
82
|
+
exports.wattHoursToJoules = /*@__PURE__*/(()=>(volume.wattHoursToJoules))();
|
|
83
|
+
exports.wattMinutesToJoules = /*@__PURE__*/(()=>(volume.wattMinutesToJoules))();
|
|
84
|
+
exports.weeksToDays = /*@__PURE__*/(()=>(volume.weeksToDays))();
|
|
85
|
+
exports.weeksToYears = /*@__PURE__*/(()=>(volume.weeksToYears))();
|
|
86
|
+
exports.yearsToDays = /*@__PURE__*/(()=>(volume.yearsToDays))();
|
|
87
|
+
exports.yearsToWeeks = /*@__PURE__*/(()=>(volume.yearsToWeeks))();
|