0.1.2 • Published 5 years ago

magnalexjs v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

MagnaLex JS

NPM version Dependency Status Build Status

Load Bible text in a structural fashion.

Usage

npm install --save magnalexjs
npm install --save xmlbible-kjv
const magnalex = require('magnalexjs')
const lib = magnalex.library()
const ref = lib.parseReference('Joh 3:16 [KJV]')
const verses = lib.loadVerses(ref)

const formatOptions = {
    fullBookName: true
}
const html = lib.toHTML(ref, verses, formatOptions)
console.log(html)

License

This project is licensed under the MIT license.

Copyright (c) 2018 Tobias Kiertscher dev@mastersign.de