New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

indian-currency-formatter

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indian-currency-formatter

This package converts amount to Indian Currency Format (INR)

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
15
150%
Maintainers
1
Weekly downloads
 
Created
Source

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');

Examples

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

Keywords

indian

FAQs

Package last updated on 24 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts