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

@sponzey/fleet

v0.0.15

Published

Sponzey Fleet Rust binary distribution wrapper

Downloads

2,300

Readme

@sponzey/fleet

This package is a distribution wrapper for the Rust sponzey binary.

The repository builds the binary with Cargo:

cargo build -p fleet-cli
npm test --prefix npm/fleet

The sponzey bin shim does not start a Node.js runtime server. It only resolves and executes a Rust binary.

Resolution order:

  1. Explicit local binary override: SPONZEY_FLEET_BIN
  2. Repository development binary: target/debug/sponzey
  3. Release binary package next to this package, using @sponzey/fleet-<os>-<arch>

Supported release package targets:

  • @sponzey/fleet-darwin-arm64
  • @sponzey/fleet-darwin-x64
  • @sponzey/fleet-linux-arm64
  • @sponzey/fleet-linux-x64

Windows packages are not currently published. Unsupported platforms fail with a clear unsupported platform error and exit code 127.

Local pack smoke:

./scripts/npm_local_pack_smoke.sh

Local platform package install smoke:

./scripts/npm_platform_local_install_smoke.sh

This stages the current Rust binary into the current OS/architecture package, packs the wrapper and platform package, creates a temporary global npm-style symlink layout, and verifies that sponzey --help resolves through the platform package.

Local demo smoke:

./scripts/npm_demo_smoke.sh

The demo starts a temporary loopback-only controller, enrolls a local demo agent, runs a small confirmed command, prints the /admin URL, and removes the temporary data directory unless sponzey demo --keep-temp is used.

Registry publish for the current OS/architecture:

./scripts/npm_publish_current_platform.sh --dry-run
SPONZEY_NPM_TOKEN_FILE=token.md ./scripts/npm_publish_current_platform.sh
./scripts/manual_npm_registry_smoke.sh

The publish script stages the current target/release/sponzey binary into the matching platform package, publishes that package first, then publishes this wrapper package. The wrapper package is what users install:

npm install -g @sponzey/fleet
sponzey --help

The installer creates the npm global sponzey launcher when possible. It also tries to create a PATH-visible launcher in a safe writable bin directory such as /usr/local/bin. It does not silently edit shell profile files. If sponzey is still not found, add the npm global bin directory explicitly:

export PATH="$(npm prefix -g)/bin:$PATH"

Standalone release archives are the non-npm install path. GitHub release artifacts are named sponzey-<os>-<arch>.tar.gz and are published with SHA256SUMS. Verify them before installing:

./scripts/verify_standalone_artifacts.sh dist/release

For Linux services, install the resolved Rust binary rather than an npm shim:

sponzey controller install-service --data-dir /var/lib/sponzey-fleet --dry-run
sponzey agent install-service --data-dir /var/lib/sponzey-fleet --dry-run
sponzey controller status-service --dry-run
sponzey agent logs-service --dry-run

Upgrade is currently an external npm/artifact operation. Inspect the supported policy first:

sponzey upgrade --dry-run

GitHub Actions release:

  1. Add an npm automation token as the repository secret NPM_TOKEN.
  2. Bump Cargo.toml, Cargo.lock, root package.json, npm/fleet/package.json, and every npm/fleet-*/package.json to the same version.
  3. Push a matching tag, for example v0.0.15.

The .github/workflows/npm-release.yml workflow builds native platform packages on GitHub-hosted runners, publishes all platform packages first, and publishes this wrapper package last. Linux release binaries are built on Ubuntu 22.04 to avoid requiring glibc 2.39 from Ubuntu 24.04.