@tsmx/human-readable
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@tsmx/human-readable", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Easily create human-readable strings from byte sizes, e.g. 17238 --> 17.24 kB. Supports decimal (MB,GB,..) and binary (MiB, GiB,..) units as well as user-defined conversion from/to other sizes.", | ||
@@ -5,0 +5,0 @@ "main": "human-readable.js", |
@@ -27,3 +27,3 @@ # [**human-readable**](https://github.com/tsmx/human-readable) | ||
hr.fromBytes(17238, { fixedPrecision: '1' }); | ||
hr.fromBytes(17238, { fixedPrecision: 1 }); | ||
// '17.2 kB' | ||
@@ -30,0 +30,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18029