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

bc-pkg

v1.0.3

Published

Create and run a BigConfig CLI from a language-specific GitHub package.

Readme

bc-pkg

bc-pkg creates or reuses a BigConfig CLI in the current directory, then forwards your command to that CLI.

The npm package and the PyPI package expose the same behavior. The target package can be implemented in Clojure, TypeScript, or Python; bc-pkg infers that language from the pinned GitHub content.

Usage

npx bc-pkg <owner/repo@ref> package validate
npx bc-pkg package validate

ref can be a branch name or a full 40-character commit SHA:

npx bc-pkg bigconfig-ai/once@typescript package validate
npx bc-pkg bigconfig-ai/once@2f4e8c0d0b4c4b8f0c3a9f6e2a1b5c7d8e9f0123 package validate

On the first run, bc-pkg resolves the ref to a full SHA and pins it. Later runs omit <owner/repo@ref> and keep using the pinned SHA.

Local repositories

For live local development you can point bc-pkg at a local checkout of a target package instead of a GitHub spec. The first argument is treated as a local path when it starts with /, ./, ../, ~, or is ./..:

npx bc-pkg ../once/typescript package build
npx bc-pkg /abs/path/to/once/clojure package build

Local targets are wired up live — your uncommitted edits in the local package are picked up on the next run, with no SHA pinning and no push:

| Target language | Local dependency | | --- | --- | | Clojure | deps.edn / bb.edn use :local/root | | TypeScript | package.json uses a file: dependency | | Python | pyproject.toml uses an editable [tool.uv.sources] path |

The run file is symlinked (not copied) so run-file edits are also live. Run bc-pkg from a separate directory; pointing it at the current directory is refused so it never overwrites the package's own manifest. Switching an initialized directory between local and GitHub (or to a different local path) is a hard error, just like a repo/ref/SHA mismatch.

Notes: TypeScript local dev requires the local package to be built (its dist/); Python local dev installs the package editable. Python template data ships as a top-level resources package, which BigConfig's renderer resolves through importlib.resources, so no ./resources directory is created.

What is created

The launcher copies the target package's root run file into the current directory and writes language-native metadata:

| Target language | Manifest | Runtime command | | --- | --- | --- | | Clojure | deps.edn | bb run ... | | TypeScript | package.json | node run ... | | Python | pyproject.toml | uv run python run ... |

For Clojure targets, a small bb.edn runtime dependency file is also written so Babashka can load the pinned Git dependency.

If the directory is already initialized for a different repo/ref/SHA, bc-pkg exits with an error instead of updating it implicitly.

Requirements

  • npm launcher: Node.js >= 18.
  • TypeScript target packages: Node.js and npm must already be installed.
  • Python target packages: Python and uv must already be installed.
  • Clojure target packages: bc-pkg downloads pinned Babashka and Temurin JDK versions into a shared user cache and checks/installs git on Linux.

Environment

| Variable | Effect | | --- | --- | | GITHUB_TOKEN | Used for private GitHub repos or higher API rate limits. | | BB_VERSION | Override the Babashka version for Clojure targets. | | JDK_VERSION | Override the Temurin JDK feature version for Clojure targets. |

Cache

Babashka and JDK downloads are shared across projects under:

  • macOS/Linux: $XDG_CACHE_HOME/bc-pkg or ~/.cache/bc-pkg
  • Windows: %LOCALAPPDATA%/bc-pkg