@thi.ng/units 0.3.0 → 0.3.1
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 +1 -1
- package/README.md +8 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ This project is part of the
|
|
|
16
16
|
- [Angle](#angle)
|
|
17
17
|
- [Area](#area)
|
|
18
18
|
- [Data](#data)
|
|
19
|
+
- [Density](#density)
|
|
19
20
|
- [Electric current](#electric-current)
|
|
20
21
|
- [Energy](#energy)
|
|
21
22
|
- [Force](#force)
|
|
@@ -193,6 +194,13 @@ The following units are provided as "builtins", here grouped by dimension:
|
|
|
193
194
|
| `PiB` | `PiB` | pebibyte (1024) |
|
|
194
195
|
| `EiB` | `EiB` | exbibyte (1024) |
|
|
195
196
|
|
|
197
|
+
#### Density
|
|
198
|
+
|
|
199
|
+
| Unit | Variable name | Description |
|
|
200
|
+
|----------|---------------|---------------|
|
|
201
|
+
| `kg/m3` | `kg_m3` | density |
|
|
202
|
+
| `1/inch` | `dpi` | dots per inch |
|
|
203
|
+
|
|
196
204
|
#### Electric current
|
|
197
205
|
|
|
198
206
|
| Unit | Variable name | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/units",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Extensible SI unit creation, conversions, quantities & calculations (incl. ~170 predefined units & constants)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -179,5 +179,5 @@
|
|
|
179
179
|
"status": "beta",
|
|
180
180
|
"year": 2021
|
|
181
181
|
},
|
|
182
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "f493d89d81d450ca67adf4f574b08840cba87807\n"
|
|
183
183
|
}
|