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

bahai-reflib-data

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bahai-reflib-data

Host information on the official Bahá'í Reference Library

  • 0.9.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

bahai-reflib-data

This project aims to host information on the official Bahá'í Reference Library website, in particular its unique identifiers, and host scripts for obtaining and processing those IDs, such as to map them to paragraph number.

Note that although this uses data from the Bahá'í Reference Library, this is just an individual effort not related to the site.

Per https://bahai-library.com/uhj_additional_tablets_urls, it seems that the URLS hosted on https://bahai.org/library may now be permanent, and it is hoped that since the paragraphs are not transparent, that the IDs might be permanent as well.

One bit of info: typing https://bahai.org/r/[ID] and replacing [ID] with the unique ID will redirect to the URL and potentially anchor that it targets.

A server is available via bahai-reflib-data-server.

Development

  1. npm i -g pnpm (If you don't have it installed already)
  2. pnpm i (Install dependencies)
  3. pnpm build-data followed by any of these optional arguments (though choosing at least one): mainCollections, collections, works, sections, paragraphIdInfo to run the (throttled) downloading and saving of the information

To-dos

  1. Utilize in restoration of webextensions-based Bahá'í Reference Library Wiki Overlay add-on

Possible to-dos

  1. Waiting: Once ready, add the Arabic or any other languages added later (The Arabic has not been ported to the new site.) Should just need to populate the allLanguages array. (We could scrape "Other languages" from https://www.bahai.org/library/ but no telling if that structure will stay the same.)
  2. RSS feed for new additions to the library (based on a date-detected field)

FAQs

Package last updated on 21 Apr 2022

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