ЁЯЪА Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more тЖТ
Socket
DemoInstallSign in
Socket

get-nepali-number

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-nepali-number

Convert any english numeral to Nepali number

0.2.0
latest
Source
npm
Version published
Weekly downloads
145
-30.95%
Maintainers
1
Weekly downloads
┬а
Created
Source

get-nepali-number Build Status

Convert any english (technically hindu-arabic) numeral to Nepali number

Install

# Using npm
$ npm install --save get-nepali-number

# Using yarn
$ yarn add get-nepali-number

Usage

var getNepaliNumber = require('get-nepali-number');

getNepaliNumber(100);
//=> 'резрежреж'

getNepaliNumber(2000);
//=> 'реи,режрежреж'

getNepaliNumber(200.05);
//=> 'реирежреж.режрел'

getNepaliNumber(2000.50);
//=> 'реи,режрежреж.рел'

getNepaliNumber('2,00,000.50');
//=> 'реи,режреж,режрежреж.рел'

getNepaliNumber('1,000,365.50');
//=> 'резреж,режреж,рейремрел.рел'

API

getNepaliNumber(num)

num

Type: number or string

provide a number to convert to Nepali numeral

License

MIT ┬й techgaun

Keywords

english-to-nepali

FAQs

Package last updated on 20 Jun 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