1.0.10 • Published 4 years ago

bible-verse-parser v1.0.10

Weekly downloads
38
License
ISC
Repository
github
Last release
4 years ago

Bible Verse Parser

Parses out verse references in a block of text.

import {parseText} from 'bible-verse-parser';

parseText('I love Romans 10:9')
// [{"startIdx":7, "endIdx":18, "osis":"Rom.10.9", "text":"Romans 10:9"}]

It supports ranges

import {parseText} from 'bible-verse-parser';

parseText('I love Romans 10:9-10')
// [{"startIdx":7,"endIdx":21,"osis":"Rom.10.9-Rom.10.10","text":"Romans 10:9-10"}]

It supports comma spanish

import {parseText} from 'bible-verse-parser';

parseText('I love Romanos 10:9-10')
// [{"startIdx":7,"endIdx":22,"osis":"Rom.10.9-Rom.10.10","text":"Romanos 10:9-10"}]

Todo

  1. Add ability to customizing the list of valid book names.
  2. Add better localization support
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago