GoodBook
Return the Books, Chapters and Verses of the Holy Bible (KJV)
Install
> npm i goodbook
Example
import GoodBook from 'goodbook'
const goodBook = new GoodBook()
let randomBook = goodBook.getRandom('book')
goodBook.on('book', results => {
console.log(results)
})
let randomChapter = goodBook.getRandom('chapter')
goodBook.on('chapter', results => {
console.log(results.book, results.chapter)
})
let randomVerse = goodBook.getRandom('verse')
goodBook.on('verse', results => {
console.log(results.book + ' ' + results.chapter + ':' + results.verse, '-', results.text)
})