Skip to content

elfscript/bible-reference-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bible-reference-parser Donate now

A Bible reference parser.

Installation

$ npm i bible-reference-parser

Documentation

ReferenceParser(reference)

Params

  • String reference: The verse reference in one of the following formats:
    • <book> <chapter>:<verse>
    • <book> <chapter>:<firstVerse>-<lastVerse>
    • <book> <chapter>:<oneVerse>,<anotherVerse>
    • <book> <chapter>

Return

  • Object An object containing:
  • book (String): The Bible book.
  • chapter (String): The reference chapter.
  • verses (Array|String): The reference verses or "ALL" if only the chapter was provided.

How to contribute

Have an idea? Found a bug? See how to contribute.

License

KINDLY © Ionică Bizău–The LICENSE file contains a copy of the license.

About

A parser of Bible references

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%