npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

abjad-convert

v0.13.0

Published

[![Version](https://img.shields.io/badge/version-0.13.0-blue.svg)](https://github.com/amerharb/abjad/tree/abjad-convert/version/0.13.0) [![License: GPLv3](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC) ![Coverage]

Readme

Abjad Convert

Version License: GPLv3 Coverage Github workflow

abjad-convert is a package for converting Abjad alphabets phonetically.

Current supported alphabets:

  • Arabic
  • Hangul (the Korean script)
  • Hanifi Rohingya
  • Hebrew
  • Imperial Aramaic
  • IPA (International Phonetic Alphabet)
  • Nabataean
  • Old South Arabian
  • Phoenician
  • Runic
  • Syriac
  • Tifinagh
  • Uguritic

How to use

npm:

npm i abjad-convert

Type Script:

import { convert, Abjad } from 'abjad-convert';

const arabicWord = 'مرحبا';

const hangulWord = convert(arabicWord, Abjad.Arabic, Abjad.Hangul);
console.log(hangulWord); // 므르흐바

const hanifiRohingyaWord = convert(arabicWord, Abjad.Arabic, Abjad.HanifiRohingya);
console.log(hanifiRohingyaWord); // 𐴔𐴌𐴇𐴁𐴀

const hebrewWord = convert(arabicWord, Abjad.Arabic, Abjad.Hebrew);
console.log(hebrewWord); // מרחבא

const imperialAramaicWord = convert(arabicWord, Abjad.Arabic, Abjad.ImperialAramaic);
console.log(imperialAramaicWord); // 𐡌𐡓𐡇𐡁𐡀

const ipaWord = convert(arabicWord, Abjad.Arabic, Abjad.IPA);
console.log(ipaWord); // mrħbaː

const nabataeanWord = convert(arabicWord, Abjad.Arabic, Abjad.Nabataean);
console.log(nabataeanWord); // 𐢓𐢛𐢊𐢃𐢁

const oldSouthArabianWord = convert(arabicWord, Abjad.Arabic, Abjad.OldSouthArabian);
console.log(oldSouthArabianWord); // 𐩣𐩧𐩢𐩨𐩡

const phoenicianWord = convert(arabicWord, Abjad.Arabic, Abjad.Phoenician);
console.log(phoenicianWord); // 𐤌𐤓𐤇𐤁𐤀

const runicWord = convert(arabicWord, Abjad.Arabic, Abjad.Runic);
console.log(runicWord); // ᛗᚱᚻᛒᚫᚮ

const syriacWord = convert(arabicWord, Abjad.Arabic, Abjad.Syriac);
console.log(syriacWord); // ܡܪܚܒܐ

const tifinaghWord = convert(arabicWord, Abjad.Arabic, Abjad.Tifinagh);
console.log(tifinaghWord); // ⵎⵔⵃⴱⴰ

const ugariticWord = convert(arabicWord, Abjad.Arabic, Abjad.Ugaritic);
console.log(ugariticWord); // 𐎎𐎗𐎈𐎁𐎀

Hangul

Hangul is not written as a run of letters: its letters are packed into syllable blocks, so the sounds are grouped into syllables before being written.

import { convert, Abjad } from 'abjad-convert';

console.log(convert('hanɡuk', Abjad.IPA, Abjad.Hangul)); // 한국
console.log(convert('sʌul', Abjad.IPA, Abjad.Hangul));   // 서울
console.log(convert('u', Abjad.IPA, Abjad.Hangul));      // 우, a syllable with no initial takes ㅇ
console.log(convert('stɹaik', Abjad.IPA, Abjad.Hangul)); // 스트라익, clusters take the filler vowel ㅡ
console.log(convert('ɡɹæf', Abjad.IPA, Abjad.Hangul));   // 그래프, ㅍ cannot close a syllable

console.log(convert('한국', Abjad.Hangul, Abjad.IPA));    // hanɡuk

Korean contrasts plain, aspirated and tense consonants where IPA contrasts voiced and voiceless, so the loanword convention is followed: voiceless /p t k/ become the aspirated ㅍ ㅌ ㅋ and voiced /b d ɡ/ become the plain ㅂ ㄷ ㄱ. Native Korean words are therefore reached with the voiced symbols, and text round-trips through IPA unchanged. See src/scripts/hangul/doc.md for the full letter tables.

How to contribute

Please read CONTRIBUTING.md for details on our code of conduct.