# ARAJS

## Welcome to ARAJS

<figure><img src="/files/HsxbdxgNvuHXfYfBjw0R" 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mdanok.gitbook.io/arajs/arajs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
