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

@platinum-dev/cli

v0.3.1

Published

pt — the command-line client for the Platinum sandbox platform.

Readme

pt — the Platinum CLI

Create and drive Platinum sandboxes, templates, volumes, apps and webhooks from your terminal.

npm i -g @platinum-dev/cli    # provides the `pt` command
pt init                       # authenticate + print next steps (`npx @platinum-dev/cli init` also works)
pt sandbox create -t pt-base  # create a sandbox, wait until it's running

Auth

pt login opens the dashboard so you can create an API key, then stores it in your OS keychain (with a ~/.config/platinum/credentials 0600 fallback where no keychain is available). For CI, set the key in the environment — it always wins and never touches disk:

export PLATINUM_API_KEY=pt_live_...
  • pt init — first-run setup: logs you in if needed, then prints what to run next (idempotent).
  • pt configure --token pt_live_... — set a key non-interactively (also manages named profiles + defaults).
  • pt whoami — show the identity/org for the current credentials.
  • pt logout — remove stored credentials.

Keys are scoped — mint least-privilege ones with pt key create --name ci --scope sandboxes:read --expires-in 30.

Profiles & config

Non-secret settings live in ~/.config/platinum/config.toml as named [profile …]s (default region, output). Select one with --profile prod or PLATINUM_PROFILE. Precedence everywhere is flag > env > profile > default.

Output

Human tables by default; machine-readable on demand. Honors NO_COLOR.

pt sandbox list                 # table
pt sandbox list -o json | jq .  # JSON for scripting
pt sandbox get <id> -o yaml     # YAML

Commands

| | | |---|---| | pt sandbox create/list/get/exec/wait/expose/stop/start/rm | sandboxes (create auto-waits for running) | | pt template list/get/rm | VM templates | | pt volume list/get/create/rm | persistent volumes | | pt app list/get/deploy/logs/rm | on-demand apps | | pt key list/create/rm/scopes | API keys | | pt webhook list/create/test/rm | webhooks | | pt api <METHOD> <path> | authenticated passthrough to any endpoint | | pt completion bash\|zsh\|fish | shell completion |

Waiters

The sandbox lifecycle is async, so pt waits for you:

pt sandbox create -t pt-base            # blocks until running
pt sandbox create -t pt-base --no-wait  # return immediately
pt sandbox wait <id> --state running --timeout 180

pt api — the escape hatch

Anything without a dedicated command is one request away — no waiting on the CLI to catch up with the API:

pt api /v1/sandboxes
pt api POST /v1/sandboxes -d '{"template":"pt-base","cpu":2}'
pt api /v1/sandboxes/<id>/metrics -o yaml

Development

bun run dev -- sandbox list   # run from source
bun run build                 # bundle to dist/pt.js (tsup)
bun run build:bin             # standalone binaries (bun --compile)