![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
freebibleapi
Advanced tools
Readme
NodeJS wrapper for the Free Bible API service (https://freebibleapi.com)
Install the library with npm npm install freebibleapi
.
BIBLE_API_KEY=<your api key here>
or pass it into the BibleAPI
class constructorGet a single translation.
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const kjvTranslation: Translation = await bibleApi.getTranslation('KJV');
Get a list of currently supported translations.
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const translations: Translation[] = await bibleApi.getTranslations();
Get a list of all books in a translation.
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const books: Book[] = await bibleApi.getBooks('KJV');
Get a specific book from the Bible for a chosen translation.
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const genesis: Book = await bibleApi.getBook('KJV', 1);
Get all chapters in a book of the Bible
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const genesisChapters: Chapter[] = await bibleApi.getChapters('KJV', 1);
Get a chapter in a book of the Bible
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const genesisChapterOne: Chapter = await bibleApi.getBookChapter('KJV', 1, 1);
Get the verses in a chapter of the Bible
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const genesisChapterOneVerses: Verse[] = await bibleApi.getVerses('KJV', 1, 1);
Get a verses in a chapter of the Bible
const { BibleAPI } = require('freebibleapi');
const bibleApi = new BibleAPI();
const genesisChapterOneVerseOne: Verse = await bibleApi.getVerse('KJV', 1, 1, 1);
If you like this package and the Free Bible API Service, please think about donating to support server costs and further development on the project.
FAQs
NodeJS wrapper for the Free Bible API (freebibleapi.com)
We found that freebibleapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.