Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bible-translation-lookup

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bible-translation-lookup

A simple bible translation lookup

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by1500%
Maintainers
1
Weekly downloads
 
Created
Source

bible-translation-lookup

build coverage npm dependencies downloads

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) // King James Version
console.log(translation2.abbr) // NET

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) // American Standard Version
  console.log(translation2.abbr) // NKJV
</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




Keywords

FAQs

Package last updated on 05 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc