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

@bugsee/cli

v0.7.11

Published

Bugsee CLI — cross-platform symbol collection, conversion, and upload.

Readme

@bugsee/cli

The Bugsee CLI — a cross-platform Rust binary that collects debug information files (dSYM, ELF, PE/PDB, R8/ProGuard mappings, JS source maps), resolves build-environment metadata, and uploads symbols to Bugsee.

npm install --save-dev @bugsee/cli
npx bugsee-cli --version

How the binary gets here

The binary is not in this package. It ships in six per-platform packages, declared as optionalDependencies:

| Package | os / cpu | | -------------------------- | ------------------ | | @bugsee/cli-darwin-arm64 | darwin / arm64 | | @bugsee/cli-darwin-x64 | darwin / x64 | | @bugsee/cli-linux-arm64 | linux / arm64 | | @bugsee/cli-linux-x64 | linux / x64 | | @bugsee/cli-win32-x64 | win32 / x64 | | @bugsee/cli-win32-arm64 | win32 / arm64 |

npm installs only the one matching your machine and skips the rest. Nothing is downloaded at install time, so this works with --ignore-scripts, with a lockfile-pinned CI install, and offline from a warm cache.

The Linux builds link glibc and are marked "libc": ["glibc"]. On musl (Alpine) the install still succeeds, and bugsee-cli reports that plainly if invoked — use a glibc base image, or build from source.

If the platform package is unavailable — --no-optional, a registry mirror that carries only this package, or an unsupported platform — a postinstall fallback downloads the release archive for your host and verifies its SHA-256 before unpacking it into vendor/. That fallback never fails the install: if it cannot fetch the binary it warns and exits 0, and the error surfaces only if you actually invoke bugsee-cli.

| Variable | Effect | | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | BUGSEE_CLI_SKIP_DOWNLOAD=1 | Skip the fallback download entirely. | | BUGSEE_CLI_BASE_URL=<url> | Fetch <url>/bugsee-cli-<triple>.<ext> (+ .sha256) instead of the GitHub release — point it at an internal mirror, or at https://download.bugsee.com/cli/v<version>. |

Programmatic use

const { spawnSync } = require("node:child_process");
const { binaryPath } = require("@bugsee/cli");

const out = spawnSync(binaryPath(), ["vcs-metadata"], { encoding: "utf8" });
const metadata = JSON.parse(out.stdout);
  • binaryPath() — absolute path to the binary; throws with a diagnostic if there is none for this platform.
  • resolveBinaryPath() — the same lookup, returning null instead of throwing.
  • version — the CLI version this package carries.

Exit codes

bugsee-cli exits with a stable, documented code and the launcher forwards it unchanged (0 success, 1/2 structural — the caller should fall back, 1039 substantive failures, 40 a deliberate build gate). A launcher that cannot find a binary at all exits 1, which is the "structural, fall back" case by that same contract.

Other install channels

@bugsee/bugsee-cli is the same CLI published by cargo-dist as a single package that downloads its binary in a postinstall. It remains supported as an alias; prefer @bugsee/cli — it is the one that works under --ignore-scripts. See the Distribution section for the shell installer, Homebrew tap, and the per-build-system bundles.