Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bible-ref

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bible-ref

Utilitie for handling and normalizing Bible references

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Bible Reference Utilities

Utilities for handling Bible references, such as normalizing book names. This project started as a component of the BibViz Project, an interactive visualization of Bible contradictions, violence, and misogyny in the Bible. It was spun off as it might be useful to others.

Usage

Install the library via NPM:

npm install bible-ref

Then, once installed you can require and use it:

var bref = require('bible-ref');

console.log(bref.bookNames);

console.log(bref.bookNormalize('1CO 1:1-4'));

Reference

bookNames

A list of book names in the Bible, e.g. ['Genesis', 'Exodus', ...].

bookNormalize(ref)

Normalize the book name in a Bible reference.

bref.bookNormalize('1CO')
>>> '1 Corinthians'

bref.bookNormalize('1CO 2:1')
>>> '1 Corinthians 2:1'

bref.bookNormalize('1 Corinthians 2:1')
>>> '1 Corinthians 2:1'

License

This work is copyright 2013 Daniel G. Taylor and licensed under an MIT-style license.

Keywords

FAQs

Package last updated on 25 Sep 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc