sda-hymnal

1.0.5 • Public • Published

sda-hymnal

This is the entire (695 hymn) Sda Hymnal; free to use in any capacity.

Installation

npm install sda-hymnal

Use

const sdaHymnal = require('sda-hymnal')

sdaHymnal({
    number: VERSE_NUMBER, //Either Number or Title, only one required.
    title: VERSE_TITLE,
    type: 'json' || 'text' || 'html' //Defaults to JSON
}).then( x =>{
    //...
})

Formats

Json Format

{
   hymnNumber: NUMBER,
   hymnTitle: 'Title',
   
   verses: [
   {
      verseName: 'Verse 1',
      text: 'Verse_Text'
   },
   {
      verseName: 'Refrain',
      text: 'Refrain_Text'
   },
   //....
   ]

}

Text Format

HYMN_NUMBER
HYMN_TITLE

Verse 1
Verse_Text

Refrain
Refrain_Text

HTML Format

<h4>Hymn_Number</h4>
<h4>Hymn_Title</h4>

<h5>Verse 1</h5>
<p>Verse_Text</p>

<h5>Refrain</h5>
<p>Refrain_Text</p>

Credits

SQLITE Data modified from obaralll's hymnal app

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.52latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.52
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i sda-hymnal

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

1.42 MB

Total Files

9

Last publish

Collaborators

  • joshpetit