rasmifize
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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

Text without diacritics (rasm) First sura of the Qur'an rasmified

rasmifize vs. rasmify.js

rasmifize is the successor to 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

How to use

TypeScript

import { rasmifize } from 'rasmifize';

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

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

JavaScript

const rasmifize = require('rasmifize');

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

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

Package Sidebar

Install

npm i rasmifize

Weekly Downloads

4

Version

1.0.7

License

LGPL-3.0

Unpacked Size

14.7 kB

Total Files

7

Last publish

Collaborators

  • suchmaske