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

biblia-ruf

v2.0.6

Published

RÚF Biblia — Revideált új fordítás library and CLI tool

Readme

Biblia RÚF

npm version license downloads GitHub Stars tests

Revideált új fordítás (RÚF) Biblia library and CLI tool. Access Bible passages, search verses, get daily verses — works in Node.js, React, and as a CLI.

Installation

# As a dependency
npm install biblia-ruf

# Global CLI
npm install -g biblia-ruf

Quick Start

import {
  getBiblePassage,
  getBibleBooks,
  getBookDetails,
  searchBible,
  getDailyVerse,
} from "biblia-ruf";

// Get a passage
const verses = await getBiblePassage("Jn 3:16");
// [{ verse: "16", text: "Mert úgy szerette Isten a világot..." }]

// Get all Bible books
const books = getBibleBooks(); // 66 books

// Get book details
const details = await getBookDetails("Zsolt");
// { name: "A Zsoltárok könyve", chapters: 150, ... }

// Search the Bible
const results = searchBible("szeretet", { limit: 10 });
// [{ reference: "Jn 3:16", text: "...", ... }]

// Get today's verse
const daily = getDailyVerse();
// { reference: "Jn 3:16", text: "...", ... }

API Reference

getBiblePassage(passage: string): Promise<BibleVerse[]>

Get verses from a Bible passage.

await getBiblePassage("Jn 3:16");        // Single verse
await getBiblePassage("Zsolt 139:23-24"); // Verse range
await getBiblePassage("Zsolt 100");       // Entire chapter

getBibleBooks(): BibleBook[]

Returns all 66 Bible books.

getBibleBooksOldTestament(): BibleBook[]

Returns 39 Old Testament books.

getBibleBooksNewTestament(): BibleBook[]

Returns 27 New Testament books.

getBookDetails(book: string): Promise<BookDetails>

Get metadata about a Bible book.

const details = await getBookDetails("Zsolt");
// {
//   name: "A Zsoltárok könyve",
//   abbreviation: "Zsolt",
//   abbreviationEng: "PSA",
//   chapters: 150,
//   verses: Map { 1 => 6, 2 => 12, ... }
// }

searchBible(query: string, options?: SearchOptions): SearchResult[]

Full-text search across the Bible.

searchBible("szeretet");
searchBible("Isten", { testament: "new", limit: 10 });
searchBible("hit", { book: "Zsid" });
searchBible("Jézus", { caseSensitive: true });

Options:

| Option | Type | Default | Description | | --------------- | -------------------- | ------- | ------------------------------- | | testament | "old" | "new" | all | Filter by testament | | book | string | all | Filter by book abbreviation | | caseSensitive | boolean | false | Case sensitive search | | limit | number | 100 | Maximum number of results |

getDailyVerse(date?: Date): DailyVerseResult

Get a deterministic daily verse. Same date always returns the same verse.

const today = getDailyVerse();
const specific = getDailyVerse(new Date(2024, 0, 1));

CLI Usage

# Get a passage
biblia --p="Zsolt 100"
biblia --p="Zsolt 100:1"
biblia --p="Zsolt 100:1-2"

# List books
biblia --showBooks
biblia --showBooks --old
biblia --showBooks --new

# Book details
biblia --bookDetails Zsolt

# Search
biblia --search="szeretet"
biblia --search="Isten" --new

# Daily verse
biblia --today

# Interactive mode
biblia -i

# Help
biblia --help

Interactive Mode

Start a REPL session with biblia -i:

biblia> Jn 3:16
biblia> search szeretet
biblia> today
biblia> help
biblia> exit

TypeScript

Full TypeScript support with exported types:

import type {
  BibleBook,
  BibleVerse,
  ParsedPassage,
  BookDetails,
  SearchOptions,
  SearchResult,
  DailyVerseResult,
} from "biblia-ruf";

Demo

CLI Demo

Demo Video

React Demo

CodeSandbox - React Project

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/my-feature)
  3. Run tests: npm test
  4. Format code: npm run format
  5. Commit your changes
  6. Push to the branch and open a Pull Request

License

MIT © Kulcsár Rudolf