Report Bug · Request Feature
Table of Contents ↧
A small library that returns cross-references for a selected verse or chapter.
Purpose
Make an easy way to get cross references.
Problem
I didn't find any js libraries for getting cross-references, although there are large open bases in the public domain.
Add the library to your app
- yarn
yarn add @texttree/bible-crossref
- npm
npm install @texttree/bible-crossref
- import
import { getByBCV, getByBC } from '@texttree/bible-crossref';
- require
const bibleCrossref = require('@texttree/bible-crossref');
There are two methods in the library:
getByBCV({book, chapter, verse})
- getting cross-references by versegetByBC({book, chapter})
- getting cross-references by chapter
You can also use the api that uses this library to check.
https://bible-crossref.netlify.app/crossref/gen 34:19
https://bible-crossref.netlify.app/crossref/gen 34
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. Guidelines for external contributions.
You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
If you would like to fork the repo and create a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Project Link: https://github.com/texttree/bible-crossref