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

js-abbreviation-number

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-abbreviation-number - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

2

dist/index.js

@@ -21,3 +21,3 @@ "use strict";

if (tier == 0)
return num.toString();
return (!sign ? "-" : "") + num.toString();
// get suffix and determine scale

@@ -24,0 +24,0 @@ var suffix = symbols[tier];

{
"name": "js-abbreviation-number",
"version": "1.1.2",
"version": "1.2.0",
"description": "Abbreviate numbers in javascript",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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