New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@bible-reader/common

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bible-reader/common

Common data structures and types for bible-reader and its libraries.

latest
Source
npmnpm
Version
3.0.2
Version published
Maintainers
1
Created
Source

Common dependencies for Scripture App packages

This package currently stores data dependencies such as:

  • order of Bible books
  • list of one-chapter Bible books

How to use

import {
  oneChapterBooks,
  booksOrder,
  bookNumbers
} from "@bible-reader/common";

const verseReference = {
  book: "gen",
  chapter: 1,
  verse: 1
};

const bookIndex = bookNumbers[verseReference.book];

function listOneChapterBooks() {
  oneChapterBooks.forEach(index => {
    // prints id of books, like gen. exo, lev, ...
    console.log(booksOrder[index]);
  });
}

FAQs

Package last updated on 26 Dec 2021

Did you know?

Socket

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.

Install

Related posts