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

@alex-taxiera/stacks

v0.3.0

Published

Scaffold pnpm workspaces of Chakra UI apps and npm CLIs, with agent setup, TanStack Intent skills and known-good versions.

Readme

stacks

Scaffolds pnpm workspaces of Chakra UI apps and npm CLIs, with the tooling and agent setup already in place:

  • oxlint and oxfmt
  • Storybook stories run as Vitest browser tests
  • husky and lint-staged, CI and Dependabot
  • an AGENTS.md plus .agents/ that sync to Claude Code, Cursor and VS Code
  • TanStack Intent, so agents can load the skills packages ship

The full docs are at stacks.taxiera.net.

pnpm dlx @alex-taxiera/stacks new my-repo --stack spa
cd my-repo
pnpm stacks add spa docs --deploy gh-pages
pnpm stacks add cli tool --package-name @me/tool
pnpm stacks update     # AGENTS.md blocks and MCP servers, as this version writes them

What a generated repo looks like

package.json          tooling only; pnpm is required (packageManager + devEngines)
pnpm-workspace.yaml   apps/*, packages/*, and a catalog: with every shared version
apps/<name>           apps that deploy
packages/<name>       packages that publish, such as a CLI
packages/ui           the Chakra snippets, theme, provider and shared Storybook preview, made with
                      the first app that needs it
AGENTS.md, .agents/   agent instructions, skills and MCP servers (Chakra, one Storybook per package)
.stacks.json          what `stacks add` builds on

Stacks

| Stack | What | Deploys to | | ------- | ------------------------------------------------------------------------ | ---------------------------------- | | spa | Vite, TanStack Router, every page prerendered to static HTML | Cloudflare Workers, GH Pages | | cli | A Node CLI that ships an agent skill through TanStack Intent | npm, with provenance | | start | TanStack Start on Nitro, TanStack Query, better-auth, Drizzle + Postgres | Docker Compose, Cloudflare Workers | | tauri | Tauri 2 desktop app: a Vite, React and Chakra window over a Rust core | GitHub Releases | | astro | Astro: Markdown posts, Chakra through React islands, static HTML | Cloudflare Workers, GH Pages |

stacks list shows what this version has, with its deploy targets and add-ons. Apps with a UI take add-ons with --with:

  • e2e (spa, start): Playwright tests of whole flows, with a CI job; a start app's brings Postgres.
  • zustand (spa, start, tauri): a store for state components share.
  • sentry (spa, start): errors and performance from the browser, and from a start app's server under Docker.
  • backups (start; Docker only): production Postgres archives its WAL and backs up to an S3 bucket with pgBackRest, so it can be restored to any moment; scripts/restore.sh restores, and a restore-<app> skill says how.
  • updater (tauri): in-app updates from the app's own GitHub release, signed with a key that pnpm --filter <app> updater:keys makes in ~/.tauri; --secrets gives it to GitHub.
  • titlebar (tauri): a title bar of the app's own, with the window's buttons, on Windows and Linux; macOS keeps its traffic lights over the header. Dialogs open below it.
  • screenshots (tauri): pnpm --filter <app> screenshots shoots every story tagged screenshot from the app's Storybook, in light and dark, into docs/screenshots/<app>, with a skill that says when and how to retake them.
  • worker (spa, astro; Cloudflare only): a Worker in front of the static site for /api/* routes of your own, with tests and its own types.
  • downloads (astro): a download page for the repo's first desktop app, sorting its latest release's installers by system; the site redeploys when the app publishes a release.

A spa or astro app on Cloudflare also gets a preview of each pull request: a version of its Worker uploaded but not deployed, linked from the run's summary.

Skills that ship with a CLI

A cli package publishes skills/<bin>/SKILL.md beside its code. Any project that installs it and uses TanStack Intent can list and load the skill:

pnpm exec intent list
pnpm exec intent load @me/tool#tool

The generated repo's root depends on its own CLI with workspace:*, so agents working there get the skill too. skills:check (in CI and the release workflow) validates it and flags it when it falls behind the package's version. stacks does the same: it ships the stacks skill, for agents working in a repo it made.

Every tauri and cli app also gets a release skill in the repo, .agents/skills/release-<name>. It walks an agent through a release: what's changed since the last one, the version, notes written for users, the workflow run, checking what went out, and recovering from a run that failed partway.

Keeping versions current

Templates never name a version. Layers list package names, and workflows say __ACTION[actions/checkout]__, Docker files __IMAGE[postgres]__ and Cargo files __CRATE[tauri]__; versions.json fills them in. It's a known-good snapshot: every version in it has been scaffolded, linted, typechecked, tested and built together.

  • stacks new reads the snapshot from this repo's trunk, so an installed CLI gets new versions without a release, and falls back to the copy it ships with when offline. --versions latest resolves everything live instead (untested together); --versions bundled never touches the network.
  • The canary refreshes it nightly. It resolves the newest version of each package, skipping releases under three days old, and groups the changes (storybook, tanstack, chakra…). Each group is tested on its own against every scaffold case:
    • Passing minor and patch groups are committed to trunk.
    • Passing groups with a major bump go into one canary/majors PR for review.
    • Failing groups open an issue. One broken release never holds the others back.
  • versions.policy.json holds the exceptions: the Node major (24 until machines move to 26), @types/node tracking it, a range for anything that has to wait, and a tag for anything that runs ahead (TypeScript follows beta until 7.1 is stable, for .astro typechecking).
  • Generated repos stay current on their own, with grouped Dependabot PRs and pnpm's minimumReleaseAge. The catalog asks for ^<version>, or the exact version for a prerelease. add never upgrades an existing catalog entry; it warns when the repo's is a major behind.
pnpm stacks versions                    # summarise the snapshot
pnpm stacks versions refresh            # what's newer, without writing
pnpm stacks versions refresh --write    # update versions.json

Developing

From the repo root:

pnpm install
pnpm test                                                   # unit tests
pnpm --filter @alex-taxiera/stacks e2e --case cli           # scaffold a case, run its checks
pnpm stacks new ../tmp-repo --stack spa                     # the CLI from source

See AGENTS.md and the stacks skill's layer reference for how the layers and templates fit together.