Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

priceformatter

2.0.0 • Public • Published

priceFormatter

A small library that converts number to Thousands, Lakhs and Crore.

Installation

npm install priceformatter

Usage

var priceformatter = require('priceformatter');

var formattedNum = priceformatter(35666);

Output will be ₹35.66K

Install

npm i priceformatter

DownloadsWeekly Downloads

1

Version

2.0.0

License

ISC

Unpacked Size

2.38 kB

Total Files

4

Last publish

Collaborators

  • avatar