bible-kjv
Version:
KJV translation of the Bible within their Node.js applications.
125 lines (124 loc) • 3.27 kB
TypeScript
/**
author: M2K Developments
github: https://github.com/m2kdevelopments
*/
/**
* Get the text of a specific verse.
*
* @param {BOOK} book - The book of the Bible.
* @param {number} chapter - The chapter number.
* @param {number} verse - The verse number.
* @returns {string} The text of the requested verse.
*/
export declare function getVerse(book: BOOK, chapter: number, verse: number): string;
/**
* Get an array of verses within a specific range.
*
* @param {BOOK} book - The book of the Bible.
* @param {number} chapter - The chapter number.
* @param {number} verseStart - The starting verse number.
* @param {number} verseEnd - The ending verse number.
* @returns {Array<string>} An array of verse texts within the specified range.
*/
export declare function getVerses(book: BOOK, chapter: number, verseStart: number, verseEnd: number): Array<string>;
/**
* Get an array of verses from a specific chapter of a book in the Chichewa Bible.
*
* @param {BOOK} book - The book of the Bible.
* @param {number} chapter - The chapter number.
* @returns {Array<string>} An array of verse texts from the requested chapter.
*/
export declare function getChapter(book: BOOK, chapter: number): Array<string>;
/**
* Get the number of chapters in a book.
*
* @param {BOOK} book - The book of the Bible.
* @returns {number} The number of chapters in the requested book.
*/
export declare function getChapterCount(book: BOOK): number;
/**
* Get the number of verses in a specific chapter.
*
* @param {BOOK} book - The book of the Bible.
* @param {number} chapter - The chapter number.
* @returns {number} The number of verses in the requested chapter.
*/
export declare function getVerseCount(book: BOOK, chapter: number): number;
/**
* Get an array of book names.
*
* @returns {Array<string>} An array of book names.
*/
export declare function getBooks(): Array<string>;
/**
* Enum representing books of the Bible.
* @enum {number}
*/
export declare enum BOOK {
Genesis = 1,
Exodus = 2,
Leviticus = 3,
Numbers = 4,
Deuteronomy = 5,
Joshua = 6,
Judges = 7,
Ruth = 8,
FirstSamuel = 9,
SecondSamuel = 10,
FirstKings = 11,
SecondKings = 12,
FirstChronicles = 13,
SecondChronicles = 14,
Ezra = 15,
Nehemiah = 16,
Esther = 17,
Job = 18,
Psalms = 19,
Proverbs = 20,
Ecclesiastes = 21,
SongOfSolomon = 22,
Isaiah = 23,
Jeremiah = 24,
Lamentations = 25,
Ezekiel = 26,
Daniel = 27,
Hosea = 28,
Joel = 29,
Amos = 30,
Obadiah = 31,
Jonah = 32,
Micah = 33,
Nahum = 34,
Habakkuk = 35,
Zephaniah = 36,
Haggai = 37,
Zechariah = 38,
Malachi = 39,
Matthew = 40,
Mark = 41,
Luke = 42,
John = 43,
Acts = 44,
Romans = 45,
FirstCorinthians = 46,
SecondCorinthians = 47,
Galatians = 48,
Ephesians = 49,
Philippians = 50,
Colossians = 51,
FirstThessalonians = 52,
SecondThessalonians = 53,
FirstTimothy = 54,
SecondTimothy = 55,
Titus = 56,
Philemon = 57,
Hebrews = 58,
James = 59,
FirstPeter = 60,
SecondPeter = 61,
FirstJohn = 62,
SecondJohn = 63,
ThirdJohn = 64,
Jude = 65,
Revelation = 66
}