# rasmifize

> Reduce arabic strings to their rasm. Formerly known as rasmify.

Latest version **1.0.7** (published 2022-03-02) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install rasmifize
pnpm add rasmifize
yarn add rasmifize
bun add rasmifize
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2022-03-02 |
| First published | 2020-09-09 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Oliver Pohl |
| Maintainers | suchmaske |
| Keywords | arabic, rasm, rasmify, strings, unicode |

## Links

- npm: https://www.npmjs.com/package/rasmifize
- Repository: https://github.com/suchmaske/rasmifize
- Homepage: https://github.com/suchmaske/rasmifize#readme
- Issues: https://github.com/suchmaske/rasmifize/issues
- npm.io page: https://npm.io/package/rasmifize

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.7 (latest) — 2022-03-02
- 1.0.6 — 2021-05-02
- 1.0.5 — 2021-01-15
- 1.0.4 — 2021-01-15
- 1.0.3 — 2020-09-09
- 1.0.2 — 2020-09-09
- 1.0.1 — 2020-09-09
- 1.0.0 — 2020-09-09

## README

# rasmifize

Convert arabic strings to their rasm. This includes:

* Removing diacritics
* Removing vocalization marks

**Text with diacritics and vocalization marks etc**
![First sura of the Qur'an with diacritics and vocalization marks etc](assets/quranic_text_with_diacritics.png)

**Text without diacritics (rasm)**
![First sura of the Qur'an rasmified](assets/quranic_text_rasmifized.png)

## rasmifize vs. rasmify.js

`rasmifize` is the successor to [rasmify.js](https://github.com/telota/rasmify.js/). I developed `rasmify.js` with the team of Corpus Coranicum at the Berlin-Brandenburg Academy of Sciences and Humanities.

Since I want to maintain this *rasm* library, I have decided to publish a successor under my own name.

## Install

```
npm install rasmifize
```

## Try it

You can test it here: [rasmifize demo](https://suchmaske.github.io/rasmifize/demo/)

## How to use

### TypeScript

```ts
import { rasmifize } from 'rasmifize';

const arabicString: string = 'الفَاتِحَة';

rasmifize(arabicString); // الڡاٮحه
```

### JavaScript

```js
const rasmifize = require('rasmifize');

const arabicString = 'الفَاتِحَة';

rasmifize(arabicString); // الڡاٮحه
```

---
_Source: https://npm.io/package/rasmifize · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
