@goodies/get-readable-number
v1.0.3
Published
A straightforward package to get the readable variant of a number.
Downloads
3
Readme
get-readable-number
System Requirements
Installation
npm i @goodies/get-readable-number
yarn add @goodies/get-readable-number
Usage
import getReadableNumber from '@goodies/get-readable-number'
const number = await getReadableNumber(3900000)
console.log(number) // 3.9 M