codexparser 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/CodexParser.js +0 -1
- package/test.js +5 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codexparser",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "This is a Javascript Bible parser and text scanner. It will search through texts and collate all scripture references into an array and parse them into objects, and it will parse passages into objects by book, chapter, verse, and testament. ",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
package/src/CodexParser.js
CHANGED
package/test.js
CHANGED
|
@@ -2,12 +2,13 @@ const CodexParser = require("./src/CodexParser.js")
|
|
|
2
2
|
|
|
3
3
|
const parser = new CodexParser()
|
|
4
4
|
const text =
|
|
5
|
-
"The passages that we are looking at tonight are found Jude 6, in Jude 5, Genesis 2:1 - 3:19, 1 John 3:16-17, 1 Peter 1:1, and Romans 10:13, 15, 17. Please turn in your Bibles."
|
|
5
|
+
"The passages that we are looking at tonight 1 Cor 12:34 are found Jude 6, in Jude 5, Genesis 2:1 - 3:19, 1 John 3:16-17, 1 Peter 1:1, and Romans 10:13, 15, 17. Please turn in your Bibles."
|
|
6
6
|
const single = "Ge 27.27-29,89-40 Heb 11.20"
|
|
7
7
|
const jd = "Jd. 5"
|
|
8
|
-
const passages = parser.parse(single)
|
|
9
|
-
console.log(passages)
|
|
8
|
+
/* const passages = parser.parse(single)
|
|
9
|
+
console.log(passages) */
|
|
10
10
|
const textParser = parser.parse(text)
|
|
11
11
|
console.log(textParser)
|
|
12
|
+
/*
|
|
12
13
|
const jude = parser.parse(jd)
|
|
13
|
-
console.log(jude)
|
|
14
|
+
console.log(jude) */
|