1.0.4 • Published 3 years ago

abjad v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Abjad-Calculator

محاسبه‌گر شمارگان حروف أبجد (حساب جُمَّل) برای واژگان و عبارت‌ها

npm (scoped) install size downloads dependencies devDependencies license Forks Stars

Installation

npm i abjad

or:

yarn add abjad

Usage

import calculateAbjadCode, {intToFa} from 'abjad'

const num = calculateAbjadCode(input.value)
const numFa = isNaN(num) ? '؟' : intToFa(num)

console.log({num, numFa})

Example:

ماشین حساب ابجد (آنلاین/آفلاین)