goodbook

0.0.2 • Public • Published

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)
})

Package Sidebar

Install

npm i goodbook

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

5.05 MB

Total Files

74

Last publish

Collaborators

  • draeder