@tsmx/human-readable
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "@tsmx/human-readable", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"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.", | ||
"main": "human-readable.js", | ||
"engines": { | ||
"node": ">=10.0.0", | ||
"node": ">=14.0.0", | ||
"npm": ">=6.0.0" | ||
@@ -12,4 +12,6 @@ }, | ||
"test": "jest", | ||
"test-coverage": "jest --coverage" | ||
"test-coverage": "jest --coverage", | ||
"test-ts": "npx tsd" | ||
}, | ||
"types": "human-readable.d.ts", | ||
"repository": { | ||
@@ -34,4 +36,8 @@ "type": "git", | ||
"devDependencies": { | ||
"jest": "^27.2.0" | ||
"jest": "^27.2.0", | ||
"tsd": "^0.21.0" | ||
}, | ||
"tsd": { | ||
"directory": "test" | ||
} | ||
} |
@@ -13,3 +13,3 @@ # [**@tsmx/human-readable**](https://github.com/tsmx/human-readable) | ||
Also check out the [full documentation](https://tsmx.net/human-readable/). If you need to use this package on the client-side in the browser, refer to [this article](https://tsmx.net/npm-packages-browser/). | ||
Also check out the [full documentation](https://tsmx.net/human-readable/). Type declarations for seamless usage in TypeScript projects are included. If you need to use this package on the client-side in the browser using plain JavaScript, refer to [this article](https://tsmx.net/npm-packages-browser/). | ||
@@ -16,0 +16,0 @@ ## Usage |
Sorry, the diff of this file is not supported yet
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
19499
11
314
2