1.0.4 • Published 1 year ago

num-wordify v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

NumConverter

NumConverter is a lightweight JavaScript library that allows you to convert large numbers into a more readable format with abbreviated units such as K (thousands), M (millions), and B (billions).

Installation

You can install NumConverter via npm:


npm install num-wordify

## Usage

To use NumConverter in your JavaScript project, first import it:

import convert from "num-wordify";

const number1 = 12345;
console.log(convert(number1)); // Output: '12.35K'

const number2 = 123456789;
console.log(convert(number2)); // Output: '123.46M'

Please keep "type": "module" in your package.json

Cheers😁
1.0.2

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago