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

iterate

v0.2.5

Published

CLI for iterate

Readme

iterate

⚠️⚠️⚠️ Coming soon! npx iterate is a work-in-progress CLI for managing iterate.com agents ⚠️⚠️⚠️

CLI for Iterate.

Runs as a thin bootstrapper that:

  1. Resolves an iterate/iterate checkout.
  2. Clones/install deps when needed.
  3. Loads apps/os/backend/trpc/root.ts from that checkout.
  4. Exposes commands like iterate os ... and iterate whoami.

Requirements

  • Node >=22
  • git
  • pnpm or corepack

Quick start

Run without installing globally:

npx iterate --help

Initial setup (writes auth + launcher config):

npx iterate setup \
  --os-base-url https://dev-yourname-os.dev.iterate.com \
  --daemon-base-url http://localhost:3001 \
  --admin-password-env-var-name SERVICE_AUTH_TOKEN \
  --user-email [email protected] \
  --scope global

Then run commands:

npx iterate whoami
npx iterate os project list

Commands

  • iterate setup - configure auth + launcher defaults
  • iterate doctor - print resolved config/runtime info
  • iterate install - force clone/install for resolved checkout
  • iterate whoami
  • iterate os ...
  • iterate daemon ...

setup --scope global writes auth + launcher values into global; setup --scope workspace writes them into workspaces[process.cwd()].

Config file

Config path:

${XDG_CONFIG_HOME:-~/.config}/iterate/config.json

Config shape:

{
  "global": {
    "repoPath": "~/.local/share/iterate/repo",
    "repoRef": "main",
    "repoUrl": "https://github.com/iterate/iterate.git",
    "autoInstall": true
  },
  "workspaces": {
    "/absolute/workspace/path": {
      "osBaseUrl": "https://dev-yourname-os.dev.iterate.com",
      "daemonBaseUrl": "http://localhost:3001",
      "adminPasswordEnvVarName": "SERVICE_AUTH_TOKEN",
      "userEmail": "[email protected]"
    }
  }
}

Merge precedence is shallow:

global -> workspaces[process.cwd()]

Repo checkout resolution

repoPath resolution order:

  1. ITERATE_REPO_DIR
  2. workspaces[process.cwd()].repoPath
  3. global.repoPath
  4. nearest parent directory containing .git, pnpm-workspace.yaml, and apps/os/backend/trpc/root.ts
  5. default managed checkout path ${XDG_DATA_HOME:-~/.local/share}/iterate/repo

repoPath shortcuts in setup:

  • local - nearest local iterate checkout
  • managed - default managed checkout path

Environment overrides:

  • ITERATE_REPO_DIR
  • ITERATE_REPO_REF
  • ITERATE_REPO_URL
  • ITERATE_AUTO_INSTALL (1/true or 0/false)

Local iterate dev

If you run inside an iterate/iterate clone, the CLI auto-detects it. In that mode, default autoInstall is false.

You can pin explicitly:

npx iterate setup \
  --os-base-url https://dev-yourname-os.dev.iterate.com \
  --daemon-base-url http://localhost:3001 \
  --admin-password-env-var-name SERVICE_AUTH_TOKEN \
  --user-email [email protected] \
  --scope workspace

Publishing (maintainers)

From repo root:

pnpm --filter ./packages/iterate typecheck
pnpm eslint packages/iterate/bin/iterate.js
pnpm prettier --check packages/iterate
pnpm --filter ./packages/iterate publish --access public