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

@gaossr/kiri

v0.1.22

Published

Kiri CLI for inspecting local development ports; installs the ports command

Downloads

4,847

Readme

Kiri npm Packaging

This directory packages Kiri for npm with precompiled macOS, Linux x64, and Windows x64 binaries.

Users install it with:

npm install -g @gaossr/kiri

The root package name is @gaossr/kiri. It exposes one command:

  • ports

The bin shim in bin/ does not call Cargo and does not compile Rust locally. It locates the matching optional platform package and executes the precompiled binary from that package.

The package follows the same optional-dependency alias pattern used by @openai/codex: the installable root package depends on platform aliases, while the underlying published package name remains @gaossr/kiri with platform-specific prerelease versions.

Root package optional dependencies:

{
  "@gaossr/kiri-darwin-arm64": "npm:@gaossr/kiri@<version>-darwin-arm64",
  "@gaossr/kiri-darwin-x64": "npm:@gaossr/kiri@<version>-darwin-x64",
  "@gaossr/kiri-linux-x64": "npm:@gaossr/kiri@<version>-linux-x64",
  "@gaossr/kiri-win32-x64": "npm:@gaossr/kiri@<version>-win32-x64"
}

Platform package vendor layout:

vendor/
  darwin-arm64/
    ports
  darwin-x64/
    ports
  linux-x64/
    ports
  win32-x64/
    ports.exe

If the matching binary is missing, the shim prints a clear error explaining that the npm package artifacts are missing and should be reinstalled.

Local checks:

npm run check
npm run test
npm run pack:dry-run

Build release tarballs from GitHub Release assets:

node scripts/build-packages.js \
  --version 0.1.17 \
  --release-dir ../../dist \
  --output-dir ../../dist/npm

Publishing uses npm Trusted Publishing through GitHub Actions OIDC. Do not store NPM_TOKEN in GitHub Actions secrets for the normal release path.

Required npm trusted publisher configuration for @gaossr/kiri:

  • Provider: GitHub Actions
  • Repository: GaoSSR/Kiri
  • Workflow filename: npm-publish.yml
  • Allowed action: npm publish

The equivalent npm CLI setup command is:

npm trust github @gaossr/kiri --file npm-publish.yml --repo GaoSSR/Kiri --allow-publish

This requires npm CLI 11.10.0 or newer, write access to @gaossr/kiri, and 2FA enabled on the npm account.

After the Release workflow has uploaded and checksummed the npm tarballs, publish the already-built artifacts with:

gh workflow run "Publish npm" --repo GaoSSR/Kiri --ref main -f version=<version>