UNPKG

chapter-and-verse

Version:

Given a bible reference, validates it and returns an object with book, chapter, verse and more

17 lines (16 loc) 310 B
{ "book": { "id": "Dan", "name": "Daniel", "testament": "O", "start": "dan", "abbr": ["da", "dn"], "chapters": 12, "versesPerChapter": [21, 49, 30, 37, 31, 28, 28, 27, 27, 21, 45, 13] }, "success": true, "reason": "matches book.id", "chapter": 4, "from": 1, "to": 3 }