codexparser 0.1.55 → 0.1.57

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.
@@ -0,0 +1,70 @@
1
+ const sblAbbreviations = {
2
+ Genesis: "Gen",
3
+ Exodus: "Exod",
4
+ Leviticus: "Lev",
5
+ Numbers: "Num",
6
+ Deuteronomy: "Deut",
7
+ Joshua: "Josh",
8
+ Judges: "Judg",
9
+ Ruth: "Ruth",
10
+ "1 Samuel": "1 Sam",
11
+ "2 Samuel": "2 Sam",
12
+ "1 Kings": "1 Kgs",
13
+ "2 Kings": "2 Kgs",
14
+ "1 Chronicles": "1 Chr",
15
+ "2 Chronicles": "2 Chr",
16
+ Ezra: "Ezra",
17
+ Nehemiah: "Neh",
18
+ Esther: "Esth",
19
+ Job: "Job",
20
+ Psalms: "Ps",
21
+ Proverbs: "Prov",
22
+ Ecclesiastes: "Eccl",
23
+ "Song of Solomon": "Song",
24
+ Isaiah: "Isa",
25
+ Jeremiah: "Jer",
26
+ Lamentations: "Lam",
27
+ Ezekiel: "Ezek",
28
+ Daniel: "Dan",
29
+ Hosea: "Hos",
30
+ Joel: "Joel",
31
+ Amos: "Amos",
32
+ Obadiah: "Obad",
33
+ Jonah: "Jonah",
34
+ Micah: "Mic",
35
+ Nahum: "Nah",
36
+ Habakkuk: "Hab",
37
+ Zephaniah: "Zeph",
38
+ Haggai: "Hag",
39
+ Zechariah: "Zech",
40
+ Malachi: "Mal",
41
+ Matthew: "Matt",
42
+ Mark: "Mark",
43
+ Luke: "Luke",
44
+ John: "John",
45
+ Acts: "Acts",
46
+ Romans: "Rom",
47
+ "1 Corinthians": "1 Cor",
48
+ "2 Corinthians": "2 Cor",
49
+ Galatians: "Gal",
50
+ Ephesians: "Eph",
51
+ Philippians: "Phil",
52
+ Colossians: "Col",
53
+ "1 Thessalonians": "1 Thess",
54
+ "2 Thessalonians": "2 Thess",
55
+ "1 Timothy": "1 Tim",
56
+ "2 Timothy": "2 Tim",
57
+ Titus: "Titus",
58
+ Philemon: "Phlm",
59
+ Hebrews: "Heb",
60
+ James: "Jas",
61
+ "1 Peter": "1 Pet",
62
+ "2 Peter": "2 Pet",
63
+ "1 John": "1 John",
64
+ "2 John": "2 John",
65
+ "3 John": "3 John",
66
+ Jude: "Jude",
67
+ Revelation: "Rev",
68
+ }
69
+
70
+ module.exports = sblAbbreviations
package/src/esv.js CHANGED
@@ -1,3 +1,4 @@
1
+ require("dotenv").config()
1
2
  const axios = require("axios")
2
3
 
3
4
  // Get all books
@@ -7,7 +8,7 @@ axios
7
8
  q: "John+3:16",
8
9
  },
9
10
  headers: {
10
- Authorization: "Token c117111babd413bd8a22b09ebfe84342dc792781",
11
+ Authorization: `Token ${process.env.ESV_TOKEN}`,
11
12
  },
12
13
  })
13
14
  .then((response) => {