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

@arbitrat/cli

v1.0.1

Published

Arbitrat workspace CLI. Opinionated generators for Arbitrat engineers.

Readme

@arbitrat/cli

arbi is the Arbitrat workspace generator. One command, a few prompts, and a project that already looks like we meant it — TypeScript, Infisical, git hooks, and add-ons instead of a kitchen-sink template.

We are opinionated on purpose. If you wanted a buffet, create-next-app and @nestjs/cli are excellent. This is the house tasting menu.

Who we are: arbitrat.org

Install

Node.js 20+.

npm install -g @arbitrat/cli
# or
pnpm add -g @arbitrat/cli

Confirm it landed:

arbi -v

What arbi does

There is one command today, and that is enough:

arbi create workspace
# or skip the name prompt
arbi create workspace my-app

The wizard asks, in order:

  1. Name — directory and package name
  2. Stack — Next.js or NestJS
  3. If Next.js: CSS (Tailwind or CSS Modules, not both), then whether to add a NestJS API
  4. Add-ons for each app you are generating (Space toggles, Enter confirms; none is a valid answer)

It refuses to write into a directory that already exists. That is a feature, not a lack of ambition.

What you get

Every generated project includes:

  • Strict TypeScript
  • Infisical-wrapped npm/pnpm scripts (INFISICAL_TOKEN in .env, never committed)
  • Husky (pre-commit, commit-msg, post-merge) plus Prettier / lint-staged
  • A small, real starting point — not an empty folder with a README that says “TODO”

Next.js only

A standalone Next.js app (npm) with the Arbitrat overlay: App Router, src/modules for business logic, app/api handlers, shared UI/hooks, and docs under docs/.

CSS is Tailwind or CSS Modules. Pick one. Mixing them is how teams invent a third style system by accident.

Add-ons

| Add-on | What it adds | | --- | --- | | Theming | Dark / light / system via next-themes | | Jest | Jest + Next.js test harness | | Docker | Production Dockerfile with Next standalone output | | Prisma | Prisma + Postgres, used from feature-module repositories | | Redis | Redis client in lib/, used from feature modules | | Internationalization | App Router i18n with next-intl (app/[locale]/; API stays in app/api/) | | Sentry | @sentry/nextjs instrumentation |

Next.js + NestJS

When you confirm a Nest backend, arbi creates a pnpm workspace:

apps/web             Next.js UI (port 3000)
apps/api             NestJS HTTP API (port 3001)
packages/contracts    Shared TypeScript types

Prisma and Redis are offered on the API only. Persistence does not live in Next.js when Nest is in the room — we already had that meeting.

Root scripts include dev:web, dev:api, start:web, start:api, plus build / typecheck / lint filters.

NestJS only

A standalone NestJS service (npm) with the same Infisical and hook baseline. Default HTTP port is 3001.

Add-ons

| Add-on | What it adds | | --- | --- | | Jest | Jest + ts-jest (the Nest CLI already ships a test setup; this keeps ours explicit) | | Prisma | Prisma + Postgres, PrismaModule, repositories | | Redis | Redis service | | Docker | Production Dockerfile | | Sentry | @sentry/node |

After generation

Put INFISICAL_TOKEN in .env (or apps/web/.env and apps/api/.env in a workspace). Then:

| Kind | Dev | Prod (after build) | | --- | --- | --- | | Next.js only | npm run dev | npm start | | Next.js + NestJS | pnpm dev:web and pnpm dev:api | pnpm start:web and pnpm start:api | | NestJS only | npm run start:dev | npm start |

That is the current capacity of arbi. If a prompt is not in the wizard, it is not a secret flag — it is not built yet.