npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@v-bible/js-sdk

v1.0.16

Published

JavaScript SDK for v-bible

Downloads

17

Readme

:notebook_with_decorative_cover: Table of Contents

:toolbox: Getting Started

:bangbang: Prerequisites

This project uses pnpm as package manager:

npm install --global pnpm

:running: Run Locally

Clone the project:

git clone https://github.com/v-bible/js-sdk.git

Go to the project directory:

cd js-sdk

Install dependencies:

pnpm install

:eyes: Usage

Utils

Process Verse

Convert verse data to markdown and HTML format.

[!NOTE] For markdown format, your markdown processor SHOULD support GFM footnotes.

Verse Parse

This util comply with the Biblical References: Format, Examples, History format.

You can use function NormalizeQueryUs or NormalizeQueryEu to normalize query to smaller chapters, ensuring each chapters will have start and end verse. The * means taking all verses. For example:

| American Abbr. | NormalizeQueryUs | Biblical Passage | European Abbr. | NormalizeQueryEu | |-----------------------------------------|----------------------------------------|-----------------------------------------------------------------------------------------------------------|-------------------------|----------------------------------------| | John 9 | 9:*-* | The Gospel according to John, chapter 9 | John 9 | 9,*-* | | John 9, 12 | 9:*-*;12:*-* | John, chapters 9 and 12 (two chapters only) | John 9; 12 | 9,*-*;12,*-* | | John 9--12 | 9:*-*;10:*-*;11:*-*;12:*-* | John, chapters 9 through 12 (four chaps. total) | John 9--12 | 9,*-*;10,*-*;11,*-*;12,*-* | | John 9:12 | 9:12-12 | John, chapter 9, verse 12 (only one verse) | John 9,12 | 9,12-12 | | John 9:12b | 9:12b-12b | John, chapter 9, only the second part of verse 12 | John 9,12b | 9,12b-12b | | John 9:1, 12 | 9:1-1;9:12-12 | John, chapter 9, verses 1 and 12 only | John 9,1.12 | 9,1-1;9,12-12 | | John 9:1-12 | 9:1-12 | John, chapter 9, the passage from verse 1 to verse 12 | John 9,1-12 | 9,1-12 | | John 9:1-12, 36 | 9:1-12;9:36-36 | John, chapter 9, from verse 1 to verse 12, and verse 36 | John 9,1-12.36 | 9,1-12;9,36-36 | | John 9:1; 12:36 | 9:1-1;12:36-36 | John, only the two verses 9:1 and 12:36 | John 9,1; 12,36 | 9,1-1;12,36-36 | | John 9:1--12:36 | 9:1-*;10:*-*;11:*-*;12:*-36 | John, the whole section from 9:1 to 12:36 | John 9,1--12,36 | 9,1-*;10,*-*;11,*-*;12,*-36 | | John 9:1-12; 12:3-6 | 9:1-12;12:3-6 | John, the two passages 9:1-12 and 12:3-6 | John 9,1-12; 12,3-6 | 9,1-12;12,3-6 | | John 9:1-3, 6-12; 12:3-6 | 9:1-3;9:6-12;12:3-6 | three passages: John 9:1-3; and 9:6-12; and John 12:3-6 | John 9,1-3.6-12; 12,3-6 | 9,1-3;9,6-12;12,3-6 | | John 9:1-3, 6-12--12:3-6 (Additional) | 9:1-3;9:6-*;10:*-*;11:*-*;12:*-6 | John, passage 9:1-3, whole section from 9:6 to 12:6 | John 9,1-3.6-12--12,3-6 | 9,1-3;9,6-*;10,*-*;11,*-*;12,*-6 | | John 9:12-13 | 9:12-13 | John, chapter 9, verses 12 and 13 ("12 and following") | John 9,12f | Not supported | | not used; better to list exact verse #s | Not supported | John, chapter 9, verse 12 "and the following verses"; but how many? the end of the text is not specified! | John 9,12ff | Not supported |

[!NOTE] For chapter range, you MUST use -- (two hyphens) not special characters, the same for verse range -.

For parsing verses:

  • Each verses will have Number and Order, with Order starts from 0 for a, 1 for b, 2 for c, etc.
  • * is converted to Number: -1 and Order :-1.
  • 9:12b is converted Number: 12 and Order :1.

:compass: Roadmap

  • [ ] ktcgkpv: Add footnotes for proper names.
  • [ ] Add tests.

:wave: Contributing

Contributions are always welcome!

Please read the contribution guidelines.

:scroll: Code of Conduct

Please read the Code of Conduct.

:warning: License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License.

License: CC BY-NC-SA 4.0.

See the LICENSE.md file for full details.

:handshake: Contact

Duong Vinh - [email protected]

Project Link: https://github.com/v-bible/js-sdk.

:gem: Acknowledgements

Here are useful resources and libraries that we have used in our projects: