Socket
Socket
Sign inDemoInstall

@tsmx/human-readable

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

human-readable.d.ts

14

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc