bible-translation-lookup
A simple bible translation lookup
Introduction
bible-translation-lookup
gets a bible translation JSON object when given a bible translation name, abbreviation or alias.
It works in Node code and browsers.
Usage
npm install --save bible-translation-lookup
const btl = require('bible-translation-lookup')
const translation1 = btl('KJV')
const translation2 = btl('New English Translation')
console.log(translation1.name)
console.log(translation2.abbr)
Browser usage
npm install --save bible-translation-lookup
Add a script tag in head:
<script src="node_modules/bible-translation-lookup/bibleTranslationLookup.js"></script>
Then use as follows:
<script>
const translation1 = bibleTranslationLookup('ASV')
const translation2 = bibleTranslationLookup('New King James Version')
console.log(translation1.name)
console.log(translation2.abbr)
</script>
JSON structure
bible-translation-lookup
returns a JSON object with the following structure:
{
"abbr": "DARBY",
"name": "Darby Translation",
"aliases": ["Darby Bible", "Darby Bible Translation", "DBY"]
}
If a translation cannot be found then undefined
is returned.
Supported translations
bible-translation-lookup
supports the translations listed in bible-translations.json
This is not an exhaustive list.
If you want support for another translation please raise an issue
Author says
God was kind to reveal his character to us in Jesus and in the bible. Let's read it.
but his delight is in the law of the Lord, and on his law he meditates day and night.
He is like a tree planted by streams of water that yields its fruit in its season, and its leaf does not wither. In all that he does, he prospers.
Psalm 1:2-3 ESV