@gracious.tech/bible-references
Version:
Bible reference detection, parsing, and rendering that supports any language.
227 lines (226 loc) • 3.7 kB
JavaScript
const books_ordered = Object.freeze([
"gen",
"exo",
"lev",
"num",
"deu",
"jos",
"jdg",
"rut",
"1sa",
"2sa",
"1ki",
"2ki",
"1ch",
"2ch",
"ezr",
"neh",
"est",
"job",
"psa",
"pro",
"ecc",
"sng",
"isa",
"jer",
"lam",
"ezk",
"dan",
"hos",
"jol",
"amo",
"oba",
"jon",
"mic",
"nam",
"hab",
"zep",
"hag",
"zec",
"mal",
"mat",
"mrk",
"luk",
"jhn",
"act",
"rom",
"1co",
"2co",
"gal",
"eph",
"php",
"col",
"1th",
"2th",
"1ti",
"2ti",
"tit",
"phm",
"heb",
"jas",
"1pe",
"2pe",
"1jn",
"2jn",
"3jn",
"jud",
"rev"
]);
const book_names_english = Object.freeze({
"gen": "Genesis",
"exo": "Exodus",
"lev": "Leviticus",
"num": "Numbers",
"deu": "Deuteronomy",
"jos": "Joshua",
"jdg": "Judges",
"rut": "Ruth",
"1sa": "1 Samuel",
"2sa": "2 Samuel",
"1ki": "1 Kings",
"2ki": "2 Kings",
"1ch": "1 Chronicles",
"2ch": "2 Chronicles",
"ezr": "Ezra",
"neh": "Nehemiah",
"est": "Esther",
"job": "Job",
"psa": "Psalms",
"pro": "Proverbs",
"ecc": "Ecclesiastes",
"sng": "Song of Songs",
"isa": "Isaiah",
"jer": "Jeremiah",
"lam": "Lamentations",
"ezk": "Ezekiel",
"dan": "Daniel",
"hos": "Hosea",
"jol": "Joel",
"amo": "Amos",
"oba": "Obadiah",
"jon": "Jonah",
"mic": "Micah",
"nam": "Nahum",
"hab": "Habakkuk",
"zep": "Zephaniah",
"hag": "Haggai",
"zec": "Zechariah",
"mal": "Malachi",
"mat": "Matthew",
"mrk": "Mark",
"luk": "Luke",
"jhn": "John",
"act": "Acts",
"rom": "Romans",
"1co": "1 Corinthians",
"2co": "2 Corinthians",
"gal": "Galatians",
"eph": "Ephesians",
"php": "Philippians",
"col": "Colossians",
"1th": "1 Thessalonians",
"2th": "2 Thessalonians",
"1ti": "1 Timothy",
"2ti": "2 Timothy",
"tit": "Titus",
"phm": "Philemon",
"heb": "Hebrews",
"jas": "James",
"1pe": "1 Peter",
"2pe": "2 Peter",
"1jn": "1 John",
"2jn": "2 John",
"3jn": "3 John",
"jud": "Jude",
"rev": "Revelation"
});
const book_abbrev_english = Object.freeze({
"gen": "Gen",
"exo": "Exo",
"lev": "Lev",
"num": "Num",
"deu": "Deut",
"jos": "Josh",
"jdg": "Judg",
"rut": "Ruth",
"1sa": "1 Sam",
"2sa": "2 Sam",
"1ki": "1 King",
"2ki": "2 King",
"1ch": "1 Chr",
"2ch": "2 Chr",
"ezr": "Ezra",
"neh": "Neh",
"est": "Est",
"job": "Job",
"psa": "Psalm",
"pro": "Prov",
"ecc": "Ecc",
"sng": "Song",
"isa": "Isa",
"jer": "Jer",
"lam": "Lam",
"ezk": "Ezek",
"dan": "Dan",
"hos": "Hos",
"jol": "Joel",
"amo": "Amos",
"oba": "Obad",
"jon": "Jonah",
"mic": "Micah",
"nam": "Nahum",
"hab": "Hab",
"zep": "Zeph",
"hag": "Hag",
"zec": "Zech",
"mal": "Mal",
"mat": "Matt",
"mrk": "Mark",
"luk": "Luke",
"jhn": "John",
"act": "Acts",
"rom": "Rom",
"1co": "1 Cor",
"2co": "2 Cor",
"gal": "Gal",
"eph": "Eph",
"php": "Phil",
"col": "Col",
"1th": "1 Thes",
"2th": "2 Thes",
"1ti": "1 Tim",
"2ti": "2 Tim",
"tit": "Titus",
"phm": "Phil",
"heb": "Heb",
"jas": "James",
"1pe": "1 Pet",
"2pe": "2 Pet",
"1jn": "1 John",
"2jn": "2 John",
"3jn": "3 John",
"jud": "Jude",
"rev": "Rev"
});
const english_abbrev_include = Object.freeze([
// [code, abbrev]
["num", "nm"],
["ezr", "ez"],
["mic", "mc"],
["hab", "hb"],
["jhn", "jn"],
["php", "phil"],
["phm", "pm"],
["jas", "jm"],
["jud", "jud"],
["jud", "jd"]
]);
const english_abbrev_exclude = Object.freeze(["is", "so", "at", "am", "me", "he", "hi"]);
export {
book_abbrev_english,
book_names_english,
books_ordered,
english_abbrev_exclude,
english_abbrev_include
};
//# sourceMappingURL=data.js.map