2.0.0 • Published 5 years ago

vue-tafqeet v2.0.0

Weekly downloads
5
License
MIT
Repository
-
Last release
5 years ago

Vue-Tafqeet

Tafqeet means converting numbers , times , months to Arabic characters, and this code converts any number from 0 to 99 trillion to Arabic characters. Tafqeet is often used in financial transactions to explain numbers in letters to prevent counterfeiting.

Install Vue-Tafqeet

npm i vue-taqfeet --save 

and in main.js add

import Taqfeet from 'vue-taqfeet' 
Vue.use(Tafqeet)

Usage

for converting any number to arabic words :

this.$tafqeet.convert(2500);
//ألفان وخمسمائة

for converting time :

for 12 time formt

this.$tafqeet.convertTime('10:10AM' , 12)
// العاشرة و عشر دقائق صباحاً

for 24 time formt

this.$tafqeet.convertTime('24:00' , 24)
// ألثانية عشر منتصف ألليل

for converting months

this.$tafqeet.convertMonth('2')
// ألثانية عشر منتصف ألليل
2.0.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago