koine-lexer
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i koine-lexer

Weekly Downloads

3

Version

3.0.4

License

MIT

Unpacked Size

180 kB

Total Files

132

Last publish

Collaborators

  • aaronshaf