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

bible-linkify

v0.1.2

Published

Linkify unlinked Scripture references in Markdown to portable route.bible URLs. CLI + library for CI.

Downloads

28

Readme

bible-linkify

Deterministic Markdown linkifier for Scripture references → portable route.bible URLs.

Pair of the agent skill bible-links:

| Surface | When it runs | | --- | --- | | bible-links (agent skill) | While an agent writes Markdown | | bible-linkify (this package) | Over an existing docs tree / CI |

Read John 3:16 and Rom. 8:28.
→
Read [John 3:16](https://route.bible/jhn.3.16) and [Rom. 8:28](https://route.bible/rom.8.28).

Visible wording is preserved. Code fences, inline code, frontmatter, wikilinks, HTML tags, and existing Markdown links are left alone.

Powered by grab-bcv.

Install

npm i -D bible-linkify
# or
npx bible-linkify --check README.md

CLI

bible-linkify --check README.md docs          # CI: exit 1 if unlinked refs remain
bible-linkify --write "docs/**/*.md"          # rewrite files in place
bible-linkify --diff                          # preview unified diffs
bible-linkify --report                        # JSON summary

Options

| Flag | Meaning | | --- | --- | | --check | Fail if any file would change (default) | | --write | Apply changes | | --diff / --dry-run | Print diffs only | | --report | JSON report | | --base-url <url> | Default https://route.bible | | --src <tag> | Optional src= query tag | | --rewrite-existing | Repoint existing MD links whose label is a passage | | --no-detect-translation | Do not add ?v= from trailing (ESV) | | --exclude <glob> | Exclude pattern (repeatable) | | --config <path> | Config file path | | --cwd <path> | Working directory |

Config file

Optional .bible-linkify.yml in the repo root:

paths:
  - "README.md"
  - "docs/**/*.md"
exclude:
  - "**/CHANGELOG.md"
baseUrl: https://route.bible
src: docs
rewriteExisting: false
detectTranslation: true

See .bible-linkify.example.yml.

Library

import { linkifyMarkdown } from "bible-linkify";

const { text, count, changes } = linkifyMarkdown(
  "Read John 3:16 and Romans 8:28.",
  { baseUrl: "https://route.bible", src: "docs" },
);

GitHub Action

# .github/workflows/bible-links.yml
name: Bible links
on:
  pull_request:
    paths: ["**/*.md", "**/*.mdx"]
  workflow_dispatch:

jobs:
  linkify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dpshde/bible-linkify@main
        with:
          mode: check
          paths: "README.md docs"

Write + open a PR

- uses: actions/checkout@v4
- uses: dpshde/bible-linkify@main
  with:
    mode: write
    paths: "docs README.md"
- uses: peter-evans/create-pull-request@v6
  with:
    title: "docs: linkify Scripture references via route.bible"
    commit-message: "docs: linkify Scripture references to route.bible"
    branch: chore/bible-linkify

Inputs

| Input | Default | Description | | --- | --- | --- | | mode | check | check | write | diff | report | | paths | (config/default globs) | Space-separated paths/globs | | base_url | https://route.bible | Resolver origin | | src | | Optional src= tag | | rewrite_existing | false | Rewrite existing MD links | | config | | Path to config file | | working_directory | . | Scan root |

Safety rules

Links

  • Unambiguous book + chapter (and optional verse/range)
  • Outside protected regions
  • Author’s visible spelling preserved (Rom. stays Rom.)

Never links

  • Fenced / inline code
  • Existing Markdown / HTML links (unless --rewrite-existing)
  • Frontmatter, wikilinks
  • Bare 3:16 with no book
  • Tokens inside URLs

Related

Development

pnpm install
pnpm test
pnpm build
pnpm exec bible-linkify --check README.md

License

MIT