> For the complete documentation index, see [llms.txt](https://mdanok.gitbook.io/arajs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mdanok.gitbook.io/arajs/arajs.md).

# ARAJS

A module provides various functions to process and analyze Arabic text and numbers.

## Welcome to ARAJS

<figure><img src="https://105316371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj58RyXTjxb9iOOJi8vd3%2Fuploads%2FSZUpfdmo2iYTmv1dcJJb%2FScreenshot%20from%202023-03-21%2022-18-35.png?alt=media&amp;token=23a668de-feea-4f90-96df-27c6e1b827fe" alt=""><figcaption></figcaption></figure>

### Install

```
npm i arajs
```

or

```
npm install arajs
```

### Example

```javascript
// commonjs:
const { number2text, stripTashkeel } = require("arajs");
// ES6:
import { number2text, stripTashkeel } from "arajs";

const number = 232;
console.log(number2text(number)); // مئتان و إثنان و ثلاثون

const text = 'مَرْحَبًا بِكُمْ';
const strippedText = stripTashkeel(text);
console.log(strippedText); // مرحبا بكم
```

{% content-ref url="/pages/VrDg3kiFCcVp7hKzz0RD" %}
[Character Functions](/arajs/character-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/fk4Ctb1p0nJMeH9hu82c" %}
[Text Functions](/arajs/text-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/7iiDKxI5hK0qZYnQvvKv" %}
[Numbers Functions](/arajs/numbers-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/8GyNCV1jVqTePjYwC4hE" %}
[Trans Functions](/arajs/trans-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/5yj9POHm6R5FS5MV3f3V" %}
[Available Consts](/arajs/available-consts.md)
{% endcontent-ref %}
