2.3.3 • Published 4 months ago

bible-reference-toolkit v2.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Bible Reference Toolkit

CodeQL

Bible Reference Toolkit is a JavaScript/Typescript package for handling Bible references. It can:

  • parse textual references into a standard, index based format
  • convert a textual reference to an absolute verse number
  • convert an absolute verse number to its textual reference
  • handle chapter references
  • handle ranges (e.g. John 3:1-16) (WIP)

Installation

npm install --save bible-reference-toolkit

Usage

The bible-reference-toolkit module exposes three top level exports:

  import Bible from 'bible-reference-toolkit';
  let reference = Bible.Reference // A class representing a single verse or chapter
  let range = Bible.Range // A class representing a range of verses
  let books = Bible.Books // A reference array containing data on the names and number of chapters/verses for each book in the Bible
2.3.3

4 months ago

2.3.2

6 months ago

2.3.1

7 months ago

2.3.0

7 months ago

2.2.2

8 months ago

2.2.1

8 months ago

2.2.0-alpha

8 months ago

2.1.2

8 months ago

2.1.2-test

8 months ago

2.1.1-test

8 months ago

2.1.1

8 months ago

2.1.0

8 months ago

2.0.9

8 months ago

2.0.8

8 months ago

2.0.7

8 months ago

2.0.6

8 months ago

2.0.5

8 months ago

2.0.4

8 months ago

2.0.3

8 months ago