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

coptic-pronounce

v1.0.5

Published

Coptic Unicode to English and Arabic phonetic transliteration

Readme

coptic-pronounce

npm version

Phonetic transliteration of Coptic Unicode text into English and Arabic script.

Handles individual Coptic letters, common digraphs (e.g. ⲟⲩou), and liturgical abbreviations such as nomina sacra (Ⲡⲟ̅ⲥ̅Pchois).

Install

npm install coptic-pronounce

npmjs.com/package/coptic-pronounce

Usage

CommonJS

const { pronounce } = require('coptic-pronounce');

ES modules

import { pronounce } from 'coptic-pronounce';

Examples

pronounce('ⲡⲛⲟⲩϯ', 'en');
// pnouti

pronounce('ⲡⲛⲟⲩϯ', 'ar');
// بنوتي

pronounce('ⲡⲛⲟⲩϯ ⲁⲛⲟⲕ', 'en');
// pnouti anok

pronounce('ⲡⲛⲟⲩϯ ⲁⲛⲟⲕ', 'ar');
// بنوتي انوك

pronounce(['ⲡⲛⲟⲩϯ ⲁⲛⲟⲕ', 'ⲁⲛⲟⲕ'], 'en');
// ['anok pnouti', 'anok']

lang accepts 'en', 'ar', 'english', or 'arabic'.

Pass a string for a single result, or a string array to transliterate multiple phrases at once (returns an array).

Non-Coptic input is rejected: the first word is checked against Coptic Unicode (U+2C80U+2CFF), supplemental Coptic letters (U+03E2U+03EF, e.g. ϯ, ϣ), and combining marks (U+0300U+036F) for jenkim and overlines.

pronounce('hello', 'en');
// Error: Expected Coptic Unicode text; found "h" (U+0068) in "hello"

TypeScript

Types are included — no @types package needed.

import { pronounce, type PronounceLang } from 'coptic-pronounce';

const lang: PronounceLang = 'en';
const word: string = pronounce('ⲡⲛⲟⲩϯ', lang);
const lines: string[] = pronounce(['ⲡⲛⲟⲩϯ', 'ⲁⲛⲟⲕ'], 'ar');

Works with moduleResolution: "node16", "nodenext", or "bundler".

Combined with Antonios font conversion

If your source text is Latin-encoded Antonios font, convert to Unicode first with coptic-antonios-unicode:

import { toUnicode } from 'coptic-antonios-unicode';
import { pronounce } from 'coptic-pronounce';

const latin = 'P,oic';
const coptic = toUnicode(latin);

pronounce(coptic, 'en'); // Pkhois
pronounce(coptic, 'ar');  // بخويس

API

pronounce(copticText, lang)

| Parameter | Type | Description | |--------------|---------------------|------------------------------------------| | copticText | string | string[] | Coptic Unicode phrase(s) | | lang | string | 'en' / 'english' or 'ar' / 'arabic' |

Returns: string or string[] — same shape as input. Returns '' or [] for empty input.

The first word of the input is validated as Coptic Unicode before transliteration. Throws if a non-Coptic character is found.

For Arabic multi-word output, render with dir="rtl" in HTML.

Liturgical special cases

Both English and Arabic modules include best-effort mappings for common liturgical forms:

| Coptic | English | Arabic | |---------------|-------------|-------------| | Ⲡⲟ̅ⲥ̅ | Pchois | بشويس | | Ⲫϯ | Efnouti | افنوتي | | ⲭ̅ⲥ̅ | Ekrestos | اخرستوس | | ⲉ̅ⲑ̅ⲩ̅ | Eth-ouab | اثؤاب |

Verify against a trusted liturgical reference before using in production.

License

MIT