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️⃣
- Host: GitHub
- URL: https://github.com/lrlna/number-picker
- Owner: lrlna
- License: mit
- Created: 2016-12-22T17:35:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T11:41:36.000Z (over 8 years ago)
- Last Synced: 2025-01-01T18:35:03.677Z (9 months ago)
- Topics: languages, numbers
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)