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

@themonk-ai/install

v0.1.12

Published

npx-based installer for the Monk Router data plane. Downloads a platform-specific Go binary from GitHub releases, writes config.json from flags, and launches the data plane.

Readme

@themonk-ai/install

Thin npx wrapper that downloads the platform-specific Monk Router data plane binary from GitHub Releases, verifies its Ed25519 release signature and SHA256 checksum, writes ~/.monk-router/config.json, and launches the binary.

macOS quarantine strip

On macOS, downloaded files inherit a com.apple.quarantine extended attribute that triggers Gatekeeper warnings on first launch. The Monk Router binary is not notarized (per ADR 0014), so Gatekeeper would block it. After extracting the binary to ~/.monk-router/bin/, the installer runs xattr -cr <binary> to strip all extended attributes, allowing the binary to launch without a Gatekeeper prompt. A message is printed for transparency.

If the xattr command is unavailable or fails, the installer logs a warning but continues — the binary may still run, and the user can strip the attribute manually with xattr -cr ~/.monk-router/bin/monk-router.

Usage

See the top-level README.md for installation instructions.

Development

npm install
npm test
npm run typecheck

Production build

The embedded Ed25519 public key in src/signing-key.ts is a development/test key. Before publishing the package, inject the production signing public key:

export MONK_INSTALLER_PUBLIC_KEY_HEX="<64-hex-char public key>"
bash scripts/inject-signing-key.sh
npm run build
npm publish

npm run build:prod runs inject-signing-key.sh followed by tsc.

Release signing

The release workflow generates signature.bin from the INSTALLER_SIGNING_PRIVATE_KEY GitHub secret. The installer downloads signature.bin alongside the archive and verifies the archive signature using the embedded public key before checking the SHA256 checksum.

Signature verification

The installer verifies each downloaded archive against an Ed25519 signature before checking the SHA256 checksum. Two keys are in play:

  • Production public key: 0510245c13285fe521e63d739023819548fcdccc7d0b62abf032617c529557f1 — stored as a GitHub Actions secret and used in CI. Release archives built by the release workflow are signed with the corresponding private key and ship a signature.bin alongside the archive. Users installing from an official release do not need to pass --no-signature; verification succeeds out of the box.

  • Dev/test public key: 2fe6e0e76c3a25fa8c53d3e8596ea2bf12f4ed2887cd769579f58e1257ad6550 — embedded in src/signing-key.ts and used by local builds. Manually-built releases are signed with a throwaway dev private key whose public half does not match the production key, so signature verification will fail. Users installing from a manually-built release must pass --no-signature to skip verification:

    npx @themonk-ai/install --no-signature

The production key is injected at publish time by scripts/inject-signing-key.sh, which reads the MONK_INSTALLER_PUBLIC_KEY_HEX environment variable and rewrites EMBEDDED_PUBLIC_KEY_HEX in src/signing-key.ts before the build. Local development and tests keep the dev key embedded; only CI/CD runs the injection step (see Production build).