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 🙏

© 2024 – Pkg Stats / Ryan Hefner

syriac-code-util

v1.0.8

Published

Syriac Unicode utilities

Downloads

27

Readme

syriac-code-util

npm version npm module downloads Build Status License: MIT Dependency Status Coverage Status Gitter

Syriac Unicode utilities

Installation

In order to use this library, Node.js should be installed. Then run:

npm install syriac-code-util --save

Following bundles are available:

  • syriac-code-util.js - UMD ES5 version for use in browser, node, etc.
  • syriac-code-util.min.js - minified version of syriac-code-util.js
  • syriac-code-util.esm.js - ES6 module version, suitable for bundling with other libraries and applications

The package could also be downloaded directly from: https://registry.npmjs.org/syriac-code-util/-/syriac-code-util-1.0.8.tgz

More information

Peshitta App

Beth Mardutho

CAL

License

MIT

Contributing

The final goal for this work is to learn the Word of God as recorded by Peshitta. You are welcomed to improve this implementation or provide feedback. Please feel free to Fork, create a Pull Request or submit Issues.

To read quick updates about Peshitta app or post questions or feedback, follow @peshittap at @peshittapor Gitter

Development

npm install
npm run build

API Reference

syriacCodeUtil.consonantsByName : Object.<string, string>

CAL consonant name to value map

Kind: static constant of syriacCodeUtil

syriacCodeUtil.consonants : Array.<string>

Syriac base 22 consonants

Kind: static constant of syriacCodeUtil

syriacCodeUtil.extraConsonants : Array.<string>

Syriac extra consonants: Garshuni, ancient, Persian, Sogdian, Palestinian, etc.

Kind: static constant of syriacCodeUtil

syriacCodeUtil.allConsonants : Array.<string>

All Syriac consonants including Garshuni, Persian, Sogdian and Palestinian, etc.

Kind: static constant of syriacCodeUtil

syriacCodeUtil.punctuation : Array.<string>

Syriac punctuation

Kind: static constant of syriacCodeUtil

syriacCodeUtil.easternVowelsByName : Object.<string, string>

Eastern vowel name to value map

Kind: static constant of syriacCodeUtil

syriacCodeUtil.easternCommonVowels : Array.<string>

Eastern common vowels - common to Western Syriac as well

Kind: static constant of syriacCodeUtil

syriacCodeUtil.easternOnlyVowels : Array.<string>

Eastern only vowels

Kind: static constant of syriacCodeUtil

syriacCodeUtil.easternVowels : Array.<string>

Eastern vowels

Kind: static constant of syriacCodeUtil

syriacCodeUtil.westernVowelsByName : Object.<string, string>

Western vowel name to value map

Kind: static constant of syriacCodeUtil

syriacCodeUtil.westernVowels : Array.<string>

Western vowels

Kind: static constant of syriacCodeUtil

syriacCodeUtil.westernVowelsBellow : Array.<string>

Western vowels below line

Kind: static constant of syriacCodeUtil

syriacCodeUtil.allWesternVowels : Array.<string>

All Western vowels

Kind: static constant of syriacCodeUtil

syriacCodeUtil.garshuniVowels : Array.<string>

Garshuni vowels

Kind: static constant of syriacCodeUtil

syriacCodeUtil.allVowels : Array.<string>

Eastern/Western and Garshuni vowels

Kind: static constant of syriacCodeUtil

syriacCodeUtil.diacriticsByName : Object.<string, string>

Diacritics name map

Kind: static constant of syriacCodeUtil

syriacCodeUtil.commonDiacritics : Array.<string>

Diacritics common to both Eastern and Western Qushaya, Rukkakha, Line under, Seyame

Kind: static constant of syriacCodeUtil

syriacCodeUtil.swadayaDiacritics : Array.<string>

Swadaya Eastern diacritics

Kind: static constant of syriacCodeUtil

syriacCodeUtil.otherDiacritics : Array.<string>

Other diacritics: Qushaya, Rukkakha, Line variations, etc.

Kind: static constant of syriacCodeUtil

syriacCodeUtil.allDiacritics : Array.<string>

Eastern and Western diacritics

Kind: static constant of syriacCodeUtil

syriacCodeUtil.other : Array.<string>

Other symbols

Kind: static constant of syriacCodeUtil

syriacCodeUtil.dotting : Array.<string>

Vowels and diacritics: used for consonantal only mapping

Kind: static constant of syriacCodeUtil

syriacCodeUtil.letterAsciiMap : Object.<string, string>

CAL to ordinal ASCII value. Used for sorting: a b c d e f g h i j k l m n o p q r s t u v w x y z { | }

Kind: static constant of syriacCodeUtil

syriacCodeUtil.isConsonant ⇒ boolean

Is character c a Syriac consonant? All Eastern and Western and Garshuni, etc.

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is Syriac consonant

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isEasternVowel ⇒ boolean

Is character c a Eastern vowel?

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is Eastern vowel

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isWesternVowel ⇒ boolean

Is character c a Western vowel?

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is Western vowel

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isVowel ⇒ boolean

Is character c a vowel? Includes both Eastern and Western.

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is a vowel

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isCommonDiacritic ⇒ boolean

Is character c a diacritic common to both Eastern and Western.

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is a common diacritic

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isSwadayaDiacritic ⇒ boolean

Is character c a Swadaya Eastern diacritic

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is a Swadaya Eastern diacritic

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isOtherDiacritic ⇒ boolean

Is character c other diacritic: common diacritic variations, Western or Turoyo variations, etc.

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is other type of diacritic

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isDiacritic ⇒ boolean

Is character c a diacritic.

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is a diacritic

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isPunctuation ⇒ boolean

Is character c a punctuation character.

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is punctuation

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isOther ⇒ boolean

Returns true if c is other character

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is other character

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isDotting ⇒ boolean

Returns true if c is dotting character

Kind: static constant of syriacCodeUtil
Returns: boolean - true if c is dotting

| Param | Type | Description | | --- | --- | --- | | c | string | input character |

syriacCodeUtil.isDotted ⇒ boolean

Return true if input word has vowels or diacritics

Kind: static constant of syriacCodeUtil
Returns: boolean - true if word has vowels or diacritics

| Param | Type | Description | | --- | --- | --- | | word | string | input word |

syriacCodeUtil.removeDotting ⇒ string

Remove dotting (vowels and diacritics), leaving consonantal word only.

Kind: static constant of syriacCodeUtil
Returns: string - consonantal word

| Param | Type | Description | | --- | --- | --- | | word | string | input word to be processed |

syriacCodeUtil.sort ⇒ number

Comparator function to be used for sorting CAL words

Kind: static constant of syriacCodeUtil
Returns: number - -1, 0, 1 depending on word sorting

| Param | Type | Description | | --- | --- | --- | | word1 | string | first word to compare | | word2 | string | second word to compare |