JSPM

indian-currency-formatter

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q41961F
  • License ISC

This package converts amount to Indian Currency Format (INR)

Package Exports

  • indian-currency-formatter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (indian-currency-formatter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

indian-currency-formatter

This package transforms the amount into Indian Currency Format (INR)

Installation

npm install indian-currency-formatter

Usage

import formatAmount from 'indian-currency-formatter';

or

const formatAmount = require('indian-currency-formatter');

Usage

console.log(formatAmount(1500.20)); // 1,500.20
console.log(formatAmount(5264210)); // 52,64,210