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

@hey-bible/cli

v1.0.0

Published

Command-line interface for the Hey Bible API — give your terminal and AI agents access to Scripture

Readme

@hey-bible/cli

Give your terminal — and your AI agents — access to the Bible.

The Hey Bible command-line interface. A thin, scriptable wrapper over the @hey-bible/client SDK that lets you look up Scripture, browse translations, and read your saved Hey Bible data straight from the shell. Every command supports --json, so it doubles as a clean, structured gateway for AI agents.

Part of the Hey Bible developer platform — alongside the REST API, the @hey-bible/mcp server, and the @hey-bible/client SDK.

Installation

npm install -g @hey-bible/cli

Or run it on demand with npx (no install required):

npx -y @hey-bible/cli search John 3

Configuration

Set your Hey Bible API key as an environment variable:

export HEY_BIBLE_API_KEY=your_api_key_here

You can also pass it per-command with --api-key. Get your key from Hey Bible under Account > API Keys.

| Variable | Description | |----------|-------------| | HEY_BIBLE_API_KEY | Your API key (required). | | HEY_BIBLE_API_URL | Override the API base URL (defaults to https://api.heybible.app). |

Quick start

# Look up a verse range
hey-bible search John 3 --start-verse 16 --end-verse 18

# List available translations and books
hey-bible bibles
hey-bible books

# Get raw JSON for scripting or AI agents
hey-bible search "1 Corinthians" 13 --json

Commands

| Command | Description | |---------|-------------| | bibles | List available Bible translations. | | books | List the 66 books with their 3-letter codes and chapter counts. | | search <book> <chapter> | Look up verses. Saves the lookup to your account. | | favorites | List favorited verses with notes, images, conversations, and tags. | | notes | List your verse notes. | | images | List AI-generated verse images (use --id for a signed URL). | | chats | List chat conversations with verse context. | | tags | List the tags you use to organize favorites. |

search options

| Flag | Description | |------|-------------| | -s, --start-verse <n> | Starting verse number. | | -e, --end-verse <n> | Ending verse number. | | -b, --bible-id <id> | Translation ID (defaults to ESV; see hey-bible bibles). |

Global options

| Flag | Description | |------|-------------| | --json | Output raw JSON (recommended for scripts and AI agents). | | --api-key <key> | API key (or set HEY_BIBLE_API_KEY). | | --api-url <url> | Override the API base URL (or set HEY_BIBLE_API_URL). | | -v, --version | Print the version. | | -h, --help | Show help for any command. |

List endpoints (favorites, notes, images, chats) accept -l, --limit <n> and -o, --offset <n> for pagination, and notes/images/ chats accept -i, --id to fetch a single record.

For AI agents

Pair the CLI with the hey-bible Agent Skill (published to ClawHub) to give any OpenClaw-compatible agent first-class access to Scripture. The skill calls this CLI under the hood:

npx -y @hey-bible/cli search John 3 --json

Because every command emits structured JSON with --json, the output is trivial for an LLM to parse and reason over.

Development

Requires Node.js 20.19+ or 22.12+ (the test toolchain pulls in Vite 7). CI and releases run on Node 22.

# Install dependencies
npm install

# Run the CLI from source
npm run dev -- search John 3

# Run tests
npm test

# Build
npm run build

Releasing

Releases are automated via GitHub Actions. Pushing a v* tag will run the tests, build, create a GitHub release, and publish to npm with the version from the tag.

git tag v1.0.0
git push origin main --tags

You'll need an NPM_TOKEN secret configured in the repository settings.

License

MIT © Working Dev's Hero LLC