Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

abgd

AhmedKorim38MIT0.0.96

A light library for arabic charters indexing system

readme

ABGD (ابجد)

description

A simple js library that help calculating Arabic sentences calculation

Install

install via npm npm install abgd

or using yarn yarn install abgd

Examples

const abgd = require( 'abgd' );
console.log( abgd.getNumericalValue( 'ابجد' ) ); // 10
console.log( abgd.getArabicIndex( 1234 ) ); // غريد
import {getNumericalValue,getArabicIndex} from 'abgd';
console.log( getNumericalValue( 'ابجد' ) ); // 10
console.log( getArabicIndex( 1234 ) ); // غريد

resources