https://github.com/awoken-bible/usfm
NPM module for USFM (Unified Standard Format Markers) Parsing
https://github.com/awoken-bible/usfm
npm-package parser usfm
Last synced: 11 months ago
JSON representation
NPM module for USFM (Unified Standard Format Markers) Parsing
- Host: GitHub
- URL: https://github.com/awoken-bible/usfm
- Owner: awoken-bible
- License: mit
- Created: 2019-09-28T21:51:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:20:23.000Z (about 3 years ago)
- Last Synced: 2024-06-12T16:24:52.475Z (over 1 year ago)
- Topics: npm-package, parser, usfm
- Language: TeX
- Homepage:
- Size: 681 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.yaml
- License: LICENSE
Awesome Lists containing this project
README
# Awoken Bible USFM [](https://travis-ci.org/awoken-bible/usfm) [](https://coveralls.io/github/awoken-bible/usfm?branch=jt/awoken-ref-refactor)
_USFM (Unified Standard Format Markers) Bible Parser_
This repo provides an NPM module with typescript typings for parsing USFM files containing biblical text, as per the [USFM documentation](https://ubsicap.github.io/usfm/)
Developed for [awokenbible.com](https://awokenbible.com), but released under MIT licence.
## PRERELEASE
> :warning: **THIS LIBRARY IS A PRERELEASE**
Please note that this library is currently in pre-release, and thus the version number is < 1.0.0. While this is true breaking API changes may occur between releases without warning.
The output format for the main chapter body content is (probably) stable, but book meta data/introduction material is currently simply skipped, and thus the meta data attached to the parse result for a book is highly likely to change before a 1.0.0 release.
The library has currently been tested on USFM files from https://ebible.org/Scriptures/ and can successfully cope with:
English Translations
- ASV (American Standard Version)
- WEB (World English Bible)
- KJV (King James Version)
- OEB (Open English Bible)
- WMB (World Messianic Bible)
- T4T (Translation for Translators)
Original Hebrew / Greek:
- HBO (Hebrew Masoretic Old Testament)
- GRCMT (Greek Majority Text New Testament)
- GRCTR (Greek Textus Receptus with Annotations)
Before releasing as 1.0.0 I want to do at least the following:
- [ ] Add support for introduction material in book headers (https://ubsicap.github.io/usfm/introductions/index.html)
- [ ] Add support for generic formatting markers inside footnotes / cross references (likely requiring refactor of login into "subparsers", see: https://github.com/awoken-bible/usfm/issues/4)
- [ ] Test the library on some more modern and widely used translations (eg, NIV, ESV, CEB, NLT, etc) - unfortunately these are not in the public domain and thus I don't have access to the USFM files currently
- [ ] Add proper documentation