holy-bible

1.2.0 • Public • Published

Holy Bible Build Status npm version

Easy-to-use JS library for retrieving bible scripture.

Installation

$ npm install holy-bible --save

Usage

var bible = require('holy-bible');
 
bible.get('John 15:13', 'ASV') // also supports 2-letter abbrev (ie: Jn 15:13)
  .then(function (res) {
    console.log(res.text);
  });
 
// Greater love hath no man than this, that a man lay down his life for his friends.

Documentation

.get(verse [, version]) => Promise

verse - A bible passage

Type: String

version - Bible version

Type: String Default: 'ASV'

Resolves into an object
{
  version: 'ASV',
  passage: 'John.15.13',
  text: 'Greater love...'
}

Currently Supported Versions

  • ASV
  • KJV

Tests

$ npm install
$ npm test

License

MIT

Package Sidebar

Install

npm i holy-bible

Weekly Downloads

3

Version

1.2.0

License

MIT

Last publish

Collaborators

  • bricejlin