3.0.4 • Published 2 years ago

koine-lexer v3.0.4

Weekly downloads
79
License
MIT
Repository
github
Last release
2 years ago

koine-lexer

Build Status License Library minified size Library minified + gzipped size

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install koine-lexer --save

# For Yarn, use the command below.
yarn add koine-lexer

Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/koine-lexer"></script>

<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/koine-lexer"></script>

<script>
  // UMD module is exposed through the "koineLexer" global variable.
  console.log(koineLexer);
</script>

Usage

Syllabification

import syllabify from 'koine-lexer/lib/syllabify'
const syllables = syllabify('ἀκηκόαμεν');
["ἀ","κη","κό","α","μεν"]

Accentuation

import accentuation from 'koine-lexer/lib/accentuation'
const accentedVerb = accentuation.accentuateVerb('ἀκηκοαμεν');
"ἀκηκόαμεν"

Amalgamation

import amalgamate from 'koine-lexer/lib/amalgamate'
const amalgamatedVerb = amalgamate('πέμπσω');
"πέμψω"

License

Released under MIT License.

See also

3.0.4

2 years ago

3.0.3

2 years ago

3.0.1

2 years ago

2.0.9

3 years ago

2.0.7

3 years ago

2.0.8

3 years ago

2.0.3

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.6

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

2.0.0-beta

3 years ago

1.0.1

5 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago