tajweed
v1.1.1
Published
*Tajweed is [npm](https://en.wikipedia.org/wiki/Npm_(software)) package for Tajweed and Buck* ## Quran Tools for Parsing Tajweed and Buck
Downloads
64
Readme
Tajweed
Tajweed is npm package for Tajweed and Buck
Quran Tools for Parsing Tajweed and Buck
The npm package is to be used with the AlQuran.cloud and GlobalQuran.com APIs. They are made available so you may get the most out of the APIs.
Installation
Use the package manager npm to install Tajweed.
npm install tajweed
#or
yarn add tajweed
Usage
const Tajweed = require('tajweed').Tajweed
let string = "۞ ٱللَّهُ نُورُ [h:9421[ٱ][l[ل]سَّمَ[n[ـٰ]و[n[َٲ]"; //
let parseTajweed = new Tajweed()
let parseString = parseTajweed.parse("string",true)
console.log(parseString)
import './tajweed.css'
import tajweed, {Tajweed} from 'tajweed';
function App() {
let string = "۞ ٱللَّهُ نُورُ [h:9421[ٱ][l[ل]سَّمَ[n[ـٰ]و[n[َٲ]"; //
let parseTajweed = new Tajweed()
let parseString = parseTajweed.parse("string",true)
return (
<div dangerouslySetInnerHTML={{__html:parseString )}}></div>
);
}
export default App;
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.