1.0.5 • Published 11 months ago

inr-number-formatter v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

A simple utility to format numbers with Indian number like k, L, and Cr.

Installation

You can install the package using npm:

npm install indian-number-format

Example

const  formatPrice  = require('inr-number-formatter');

// Format numbers with Indian numbers
console.log(formatPrice(123456789)); // Output: "12.35 Cr"
console.log(formatPrice(1234567));   // Output: "12.35 L"
console.log(formatPrice(12345));     // Output: "12.35k"
console.log(formatPrice(123));       // Output: "123"

Contact:

-For any questions or feedback, please contact ankushjagga97@gmail.com.

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago