this libray is use to convert a number into short scales notation
npm i shortScaleNumber
first you need to install this library after that you need to import calculate function in your project from this library and after that you need to pass the string to calculate function it will return the short scale notation number in the string format.
there is only one parameter whish is number of string ... const x = require("Calculate_short_scale_number") x.calculate("1234567") => "1,234,567" ...
Prafful Manwani