Skip to content

lrlna/number-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-picker

Given an arabic numeral (1, 2, 3, 4 ...) get a hindu-arabic numeral back. Works with farsi and arabic umbers ✨.

Usage

var numbers = require('number-picker')

numbers(45, 'fa') // ۴۵

numbers(num, lang)

  • num, an arabic numeral, such as 574
  • lang, the language you would like to convert the number to

Install

npm install number-picker

Related Content

LICENSE

MIT