@corva/convert-units 3.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.
Files changed (54) hide show
  1. package/definitions/acousticSlowness.json +34 -0
  2. package/definitions/angle.json +106 -0
  3. package/definitions/anglePerLength.json +52 -0
  4. package/definitions/angularVelocity.json +87 -0
  5. package/definitions/area.json +106 -0
  6. package/definitions/concentration.json +34 -0
  7. package/definitions/current.json +52 -0
  8. package/definitions/density.json +160 -0
  9. package/definitions/digital.json +106 -0
  10. package/definitions/each.json +20 -0
  11. package/definitions/energy.json +61 -0
  12. package/definitions/force.json +106 -0
  13. package/definitions/gammaRadiation.json +34 -0
  14. package/definitions/gasConcentration.json +124 -0
  15. package/definitions/gasFlowRate.json +34 -0
  16. package/definitions/gasVolume.json +250 -0
  17. package/definitions/gravity.json +43 -0
  18. package/definitions/gravityRMS.json +34 -0
  19. package/definitions/inversePressure.json +61 -0
  20. package/definitions/length.json +97 -0
  21. package/definitions/lengthPerAngle.json +43 -0
  22. package/definitions/mass.json +115 -0
  23. package/definitions/massFlowRate.json +205 -0
  24. package/definitions/mpl.json +43 -0
  25. package/definitions/partsPer.json +47 -0
  26. package/definitions/permiability.json +34 -0
  27. package/definitions/porosity.json +43 -0
  28. package/definitions/power.json +43 -0
  29. package/definitions/pressure.json +142 -0
  30. package/definitions/pressureGradient.json +43 -0
  31. package/definitions/proportion.json +52 -0
  32. package/definitions/resistivity.json +34 -0
  33. package/definitions/revolutionPerVolume.json +34 -0
  34. package/definitions/speed.json +97 -0
  35. package/definitions/spontaneousPotential.json +34 -0
  36. package/definitions/strokesRate.json +70 -0
  37. package/definitions/surveyLength.json +43 -0
  38. package/definitions/temperature.json +44 -0
  39. package/definitions/time.json +100 -0
  40. package/definitions/torque.json +61 -0
  41. package/definitions/unitBucketMapping.json +404 -0
  42. package/definitions/unitless.json +34 -0
  43. package/definitions/viscosity.json +28 -0
  44. package/definitions/voltage.json +70 -0
  45. package/definitions/volume.json +241 -0
  46. package/definitions/volumeConcentration.json +34 -0
  47. package/definitions/volumeFlowRate.json +385 -0
  48. package/dist/index.cjs +223 -0
  49. package/dist/index.cjs.map +1 -0
  50. package/dist/index.d.cts +58 -0
  51. package/dist/index.d.ts +58 -0
  52. package/dist/index.js +172 -0
  53. package/dist/index.js.map +1 -0
  54. package/package.json +42 -0
@@ -0,0 +1,404 @@
1
+ {
2
+ "Angle": [
3
+ "rad",
4
+ "deg",
5
+ "dega",
6
+ "degrees",
7
+ "grad",
8
+ "arcmin",
9
+ "arcsec"
10
+ ],
11
+ "Angle Per Length": [
12
+ "dpm",
13
+ "dp30m",
14
+ "dpf",
15
+ "dp100f",
16
+ "deg/100ft"
17
+ ],
18
+ "Angular Velocity": [
19
+ "1/s",
20
+ "Hz",
21
+ "rev/s",
22
+ "rps",
23
+ "rpm",
24
+ "RPM",
25
+ "rev/m",
26
+ "c/min",
27
+ "rph",
28
+ "rev/h",
29
+ "radsec",
30
+ "rad/s",
31
+ "rad/sec",
32
+ "dega/s",
33
+ "dega/m",
34
+ "dega/h"
35
+ ],
36
+ "Area": [
37
+ "mm2",
38
+ "cm2",
39
+ "m2",
40
+ "ha",
41
+ "km2",
42
+ "in2",
43
+ "yd2",
44
+ "ft2",
45
+ "ac",
46
+ "mi2"
47
+ ],
48
+ "Current": [
49
+ "A",
50
+ "mA"
51
+ ],
52
+ "Force": [
53
+ "N",
54
+ "kN",
55
+ "daN",
56
+ "kdaN",
57
+ "g",
58
+ "g-force",
59
+ "TONNEf",
60
+ "lbf",
61
+ "klbf",
62
+ "TONf US",
63
+ "TONf(long)"
64
+ ],
65
+ "Length Per Angle": [
66
+ "mm/rev",
67
+ "m/rev",
68
+ "in/rev"
69
+ ],
70
+ "Mass": [
71
+ "mcg",
72
+ "mg",
73
+ "g",
74
+ "kg",
75
+ "ton",
76
+ "oz",
77
+ "sack",
78
+ "sck",
79
+ "100lb",
80
+ "lb",
81
+ "lbs",
82
+ "lbm",
83
+ "klbs",
84
+ "kLBS"
85
+ ],
86
+ "Mass Flow Rate": [
87
+ "mcg/s",
88
+ "mcg/min",
89
+ "mcg/h",
90
+ "mg/s",
91
+ "mg/min",
92
+ "mg/h",
93
+ "g/s",
94
+ "g/min",
95
+ "g/h",
96
+ "kg/s",
97
+ "kg/min",
98
+ "kg/h",
99
+ "ton/s",
100
+ "ton/min",
101
+ "ton/h",
102
+ "oz/s",
103
+ "oz/min",
104
+ "oz/h",
105
+ "lb/s",
106
+ "lb/min",
107
+ "lb/h"
108
+ ],
109
+ "Mass per length": [
110
+ "kg-m",
111
+ "lb-ft",
112
+ "klb-ft"
113
+ ],
114
+ "Volume Flow Rate": [
115
+ "mm3/s",
116
+ "cm3/s",
117
+ "ml/s",
118
+ "cl/s",
119
+ "dl/s",
120
+ "l/s",
121
+ "l/min",
122
+ "L/min",
123
+ "l/h",
124
+ "kl/s",
125
+ "kl/min",
126
+ "kl/h",
127
+ "m3/s",
128
+ "m3/min",
129
+ "m3/h",
130
+ "km3/s",
131
+ "ml/30min",
132
+ "mL/30 min",
133
+ "tsp/s",
134
+ "Tbs/s",
135
+ "in3/s",
136
+ "in3/min",
137
+ "in3/h",
138
+ "fl-oz/s",
139
+ "fl-oz/min",
140
+ "fl-oz/h",
141
+ "cup/s",
142
+ "pnt/s",
143
+ "pnt/min",
144
+ "pnt/h",
145
+ "qt/s",
146
+ "gal/s",
147
+ "gal/min",
148
+ "gal_per_min",
149
+ "gal/h",
150
+ "bbl/s",
151
+ "bbl/min",
152
+ "bbl/h",
153
+ "ft3/s",
154
+ "ft3/min",
155
+ "ft3/h",
156
+ "yd3/s",
157
+ "yd3/min",
158
+ "yd3/h"
159
+ ],
160
+ "Power": [
161
+ "mhp",
162
+ "watt",
163
+ "hp"
164
+ ],
165
+ "Inverse Pressure": [
166
+ "i-pa",
167
+ "i-kPa",
168
+ "i-bar",
169
+ "i-psi",
170
+ "i-ksi"
171
+ ],
172
+ "Pressure Gradient": [
173
+ "kPa/m",
174
+ "Pa/m",
175
+ "psi/ft"
176
+ ],
177
+ "Proportion": [
178
+ "%",
179
+ "percent",
180
+ "flow_percent",
181
+ "Fraction",
182
+ "0-1"
183
+ ],
184
+ "Revolution Per Volume": [
185
+ "rpl",
186
+ "rpg"
187
+ ],
188
+ "Time": [
189
+ "ns",
190
+ "mu",
191
+ "ms",
192
+ "s",
193
+ "sec",
194
+ "min",
195
+ "h",
196
+ "d",
197
+ "day",
198
+ "week",
199
+ "month",
200
+ "year"
201
+ ],
202
+ "Torque": [
203
+ "Nm",
204
+ "kNm",
205
+ "kN.m",
206
+ "J",
207
+ "ft-lbf",
208
+ "ft.lbf",
209
+ "ft-klbf",
210
+ "kft-lbf",
211
+ "ft.klbf"
212
+ ],
213
+ "Voltage": [
214
+ "V",
215
+ "mV",
216
+ "nV"
217
+ ],
218
+ "Volume Concentration": [
219
+ "l/m3",
220
+ "gal/Mgal"
221
+ ],
222
+ "Length": [
223
+ "m",
224
+ "m.",
225
+ "meter",
226
+ "meters",
227
+ "km",
228
+ "yd",
229
+ "ft",
230
+ "f",
231
+ "'",
232
+ "feet",
233
+ "ftUS",
234
+ "mi",
235
+ "32nd",
236
+ "32nd in",
237
+ "in/32"
238
+ ],
239
+ "Resistivity": [
240
+ "ohmm",
241
+ "ohm.m",
242
+ "ohm-"
243
+ ],
244
+ "Formation Density": [
245
+ "g/cm3",
246
+ "g/c3",
247
+ "g/cc"
248
+ ],
249
+ "Density": [
250
+ "Sg",
251
+ "kg/m3",
252
+ "kg/cm3",
253
+ "g/l",
254
+ "g/m3",
255
+ "gm/3",
256
+ "gm/c",
257
+ "kPa/m",
258
+ "mg/l",
259
+ "mg/L",
260
+ "lb/gal",
261
+ "lbm/gal",
262
+ "lbm/galUS",
263
+ "lbs/galUS",
264
+ "lbs_per_gal",
265
+ "ppg",
266
+ "lbm/galUS",
267
+ "lb/bbl",
268
+ "lbm/bbl",
269
+ "lb/Mgal",
270
+ "lbm/Mgal",
271
+ "lb/ft3",
272
+ "lb/in3",
273
+ "psi/ft",
274
+ "psi/1000ft"
275
+ ],
276
+ "Porosity": [
277
+ "v/v",
278
+ "pu"
279
+ ],
280
+ "Permiability": [
281
+ "md"
282
+ ],
283
+ "Acoustic Slowness": [
284
+ "us/m",
285
+ "us/f",
286
+ "us/ft"
287
+ ],
288
+ "Temperature": [
289
+ "C",
290
+ "degc",
291
+ "degC",
292
+ "°C",
293
+ "K",
294
+ "degk",
295
+ "degK",
296
+ "F",
297
+ "degf",
298
+ "degF",
299
+ "°F",
300
+ "deg/F"
301
+ ],
302
+ "Short Length": [
303
+ "in",
304
+ "inch",
305
+ "inches",
306
+ "\"",
307
+ "ins",
308
+ "inus",
309
+ "mm",
310
+ "cm"
311
+ ],
312
+ "Strokes Rate": [
313
+ "strokes/min",
314
+ "spm",
315
+ "1/m",
316
+ "1/min",
317
+ "strokes/sec",
318
+ "sps",
319
+ "1/s",
320
+ "strokes/h",
321
+ "sph",
322
+ "1/h"
323
+ ],
324
+ "Concentration": [
325
+ "ppm"
326
+ ],
327
+ "Velocity": [
328
+ "m/s",
329
+ "m/min",
330
+ "m/h",
331
+ "kph",
332
+ "mph",
333
+ "knot",
334
+ "ft/s",
335
+ "ft/min",
336
+ "ft/h",
337
+ "ft_per_hr"
338
+ ],
339
+ "Volume": [
340
+ "mm3",
341
+ "cm3",
342
+ "ml",
343
+ "mL",
344
+ "ml of",
345
+ "mL of",
346
+ "cl",
347
+ "dl",
348
+ "l",
349
+ "m3",
350
+ "km3",
351
+ "krm",
352
+ "tsk",
353
+ "msk",
354
+ "kkp",
355
+ "glas",
356
+ "kanna",
357
+ "tsp",
358
+ "Tbs",
359
+ "in3",
360
+ "fl-oz",
361
+ "cup",
362
+ "pnt",
363
+ "qt",
364
+ "gal",
365
+ "gals",
366
+ "ft3",
367
+ "yd3",
368
+ "bbl",
369
+ "bbls",
370
+ "barrels"
371
+ ],
372
+ "Mse Pressure": [
373
+ "kPa",
374
+ "ksi"
375
+ ],
376
+ "Pressure": [
377
+ "Pa",
378
+ "kPaAdjusted",
379
+ "kPaadjusted",
380
+ "MPa",
381
+ "hPa",
382
+ "bar",
383
+ "torr",
384
+ "psi",
385
+ "PSI",
386
+ "psiAdjusted",
387
+ "ksiAdjusted",
388
+ "psf",
389
+ "dsf",
390
+ "hsf",
391
+ "lbf/100 ft2",
392
+ "lbf/100ft2",
393
+ "lbf/(100·ft²)",
394
+ "lb/100ft2"
395
+ ],
396
+ "Gamma Radiation": [
397
+ "API",
398
+ "api",
399
+ "api units"
400
+ ],
401
+ "Other": [
402
+ "*"
403
+ ]
404
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "metric": {
3
+ "unitless": {
4
+ "name": {
5
+ "singular": "unitless",
6
+ "plural": "unitless",
7
+ "display": "unitless"
8
+ },
9
+ "to_anchor": 1,
10
+ "aliases": ["unitless", "On/Off", "None", "EUC", "Euc", "UNITLESS", "Unitless"]
11
+ }
12
+ },
13
+ "imperial": {
14
+ "unitless": {
15
+ "name": {
16
+ "singular": "unitless",
17
+ "plural": "unitless",
18
+ "display": "unitless"
19
+ },
20
+ "to_anchor": 1,
21
+ "aliases": ["unitless", "On/Off", "None", "EUC", "Euc", "UNITLESS", "Unitless"]
22
+ }
23
+ },
24
+ "_anchors": {
25
+ "metric": {
26
+ "unit": "unitless",
27
+ "ratio": 1
28
+ },
29
+ "imperial": {
30
+ "unit": "unitless",
31
+ "ratio": 1
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "metric": {
3
+ "mpas": {
4
+ "name": {
5
+ "singular": "Millipascal-second",
6
+ "plural": "Millipascal-seconds",
7
+ "display": "mPa\u00b7s"
8
+ },
9
+ "to_anchor": 1,
10
+ "aliases": ["mpas", "cP", "mPa\u00b7s", "mPa.s", "mPa*s"]
11
+ },
12
+ "pas": {
13
+ "name": {
14
+ "singular": "Pascal-second",
15
+ "plural": "Pascal-seconds",
16
+ "display": "Pa\u00b7s"
17
+ },
18
+ "to_anchor": 1000,
19
+ "aliases": ["pas", "Pa\u00b7s", "Pa.s", "Pa*s"]
20
+ }
21
+ },
22
+ "_anchors": {
23
+ "metric": {
24
+ "unit": "s",
25
+ "ratio": 1
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "metric": {
3
+ "V": {
4
+ "name": {
5
+ "singular": "Volt",
6
+ "plural": "Volts",
7
+ "display": "V"
8
+ },
9
+ "to_anchor": 1000,
10
+ "aliases": ["V"]
11
+ },
12
+ "mV": {
13
+ "name": {
14
+ "singular": "Millivolt",
15
+ "plural": "Millivolts",
16
+ "display": "mV"
17
+ },
18
+ "to_anchor": 1,
19
+ "aliases": ["mV"]
20
+ },
21
+ "nV": {
22
+ "name": {
23
+ "singular": "Nanovolt",
24
+ "plural": "Nanovolts",
25
+ "display": "nV"
26
+ },
27
+ "to_anchor": 0.000001,
28
+ "aliases": ["nV"]
29
+ }
30
+ },
31
+ "imperial": {
32
+ "V": {
33
+ "name": {
34
+ "singular": "Volt",
35
+ "plural": "Volts",
36
+ "display": "V"
37
+ },
38
+ "to_anchor": 1000,
39
+ "aliases": ["V"]
40
+ },
41
+ "mV": {
42
+ "name": {
43
+ "singular": "Millivolt",
44
+ "plural": "Millivolts",
45
+ "display": "mV"
46
+ },
47
+ "to_anchor": 1,
48
+ "aliases": ["mV"]
49
+ },
50
+ "nV": {
51
+ "name": {
52
+ "singular": "Nanovolt",
53
+ "plural": "Nanovolts",
54
+ "display": "nV"
55
+ },
56
+ "to_anchor": 0.000001,
57
+ "aliases": ["nV"]
58
+ }
59
+ },
60
+ "_anchors": {
61
+ "metric": {
62
+ "unit": "mV",
63
+ "ratio": 1
64
+ },
65
+ "imperial": {
66
+ "unit": "mV",
67
+ "ratio": 1
68
+ }
69
+ }
70
+ }