Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsmx/human-readable

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsmx/human-readable - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc