Skip to content

Chichewa Bible npm package: Access and integrate the Chichewa translation of the Bible into your Node.js applications with ease. Simplify verse retrieval, text search, and more using this lightweight and versatile npm package.

License

Notifications You must be signed in to change notification settings

AllBible/bible-chichewa-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chichewa Bible npm Package

Buy Me A Coffee

npm version npm downloads License Build Status Coverage Status

The Chichewa Bible npm package is an open source project that provides developers with a convenient way to access and work with the Chichewa translation of the Bible within their Node.js applications. This package aims to simplify the integration of Chichewa Bible text into various projects, such as language learning apps, Bible study tools, and more.

Features

  • Access verses, chapters, and books of the Chichewa Bible programmatically.
  • Retrieve text content in Chichewa for quoting, referencing, and display.
  • Flexible search functionality for finding specific passages or keywords.
  • Lightweight and easy-to-use API for seamless integration into Node.js applications.
  • Continuously updated to reflect the latest versions of the Chichewa Bible text.

Installation

You can install the Chichewa Bible npm package using npm:

npm install chichewa-bible

OR

yarn add chichewa-bible

Examples

To use the bible-chichewa library to retrieve a verse from the Chichewa Bible, follow these steps:

Example: Retrieving a Bible Verse

const { getVerse, BOOK } = require('bible-chichewa');
const book = BOOK.Genesis;
const chapter = 1;
const verse = 1;

const verseText = getVerse(book, chapter, verse);
console.log(`Verse ${book} ${chapter}:${verse}: ${verseText}`);

Example: Retrieving a Bible Chpater

const { getChapter, BOOK } = require('bible-chichewa');

const book = BOOK.Genesis;
const chapter = 1;

const chapterVerses = getChapter(book, chapter);

console.log(`Chapter ${book} ${chapter}:`);
chapterVerses.forEach((verse, index) => {
  console.log(`${index + 1}: ${verse}`);
});

Example: Retrieving a Bible Verses within Range

const { getVerses, BOOK } = require('bible-chichewa');

const book = BOOK.Exodus;
const chapter = 20;
const verseStart = 1;
const verseEnd = 5;

const verses = getVerses(book, chapter, verseStart, verseEnd);

console.log(`Verses ${book} ${chapter}:${verseStart}-${verseEnd}:`);
verses.forEach((verse, index) => {
  console.log(`${verseStart + index}: ${verse}`);
});

About

Chichewa Bible npm package: Access and integrate the Chichewa translation of the Bible into your Node.js applications with ease. Simplify verse retrieval, text search, and more using this lightweight and versatile npm package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published