0.1.0 • Published 5 years ago

@atfotc/scripture-utils v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Scripture utils

A collection of utilities to organise Scripture books (for the TS2009 translation).

Usage

npm install @atfotc/scripture-utils

Then:

// "Genesis" -> "Berĕshith" (case sensitive)
replaceEnglishNamesWithTransliteratedNames(string): string

// "Berĕshith" -> "Genesis" (case sensitive)
replaceTransliteratedNamesWithEnglishNames(string): string

// all books by section
getSections(): array

// all books with embedded sections
getBooks(): array

Roadmap

  • Translations for different cases
  • Hebrew data (hebrewName and hebrewId) for sections and books

License

MIT