An open API service indexing awesome lists of open source software.

https://github.com/lrlna/number-picker

switch between numbers 1️⃣ 2️⃣
https://github.com/lrlna/number-picker

languages numbers

Last synced: about 1 month ago
JSON representation

switch between numbers 1️⃣ 2️⃣

Awesome Lists containing this project

README

          

# number-picker

Given an [arabic numeral](https://en.wikipedia.org/wiki/Arabic_numerals) (1, 2, 3, 4 ...) get a [hindu-arabic numeral](https://en.wikipedia.org/wiki/Hindu%E2%80%93Arabic_numeral_system) back. Works with farsi and arabic umbers :sparkles:.

# Usage

```javascript
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
- [translation-picker](github.com/lrlna/translation-picker)

# LICENSE
[MIT](https://tldrlegal.com/license/mit-license)