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

zerobased

v0.8.0

Published

Rewrite in progress: explicit local control plane for development stacks

Downloads

243

Readme

zerobased

Rewrite in progress.

The legacy Docker autodiscovery router has been removed from this working tree. This repo is now the starting point for the explicit machine-local control plane described in:

  • docs/superpowers/specs/2026-05-13-zerobased-control-plane-rfc.md

Current implementation state:

  • zerobased start and zerobased up are the only first-class product boundaries for new work.
  • zerobased up reads explicit zerobased.yaml v1 from the project root.
  • The old Docker watcher, zerobased run, routefile parser, classifier-based exposure, and direct Caddy mutation paths are not the target architecture.
  • Runtime path: claim through the daemon, start declared Compose dependencies when present, launch declared local processes, wait for readiness, publish routes through the daemon-owned route runtime, then stay foreground until stopped.
  • Compose is explicit. Zerobased loads only Compose files listed in zerobased.yaml; it does not infer compose.yaml from the directory.
  • Owned Compose services get a zerobased-generated Compose project name and dev.zerobased.* labels. container_name, host ports, network_mode: host, external resources, and custom top-level resource names are rejected before containers start.

Minimal zerobased.yaml v1:

version: 1
name: my-project
host: my-project.localhost
compose:
  files:
    - compose.yaml
  services:
    - postgres
  ownership: owned
processes:
  web:
    command: ["go", "run", "./cmd/web"]
    readiness:
      type: file
      path: /tmp/my-project-ready
routes:
  - path: /
    process: web
    port: 3000

Run it:

zerobased start
zerobased up

up is foreground. Stop it with Ctrl-C; zerobased owns orchestration, not detached babysitting.

Local processes published through the default Docker Caddy route runtime must listen on an address reachable from Docker, normally 0.0.0.0. A process bound only to 127.0.0.1 cannot be reached from the Caddy container.

Compose example:

version: 1
name: acountee
host: acountee.localhost
profile: backend
compose:
  files:
    - compose.yaml
  profiles:
    - backend
  services:
    - postgres
    - nats
    - otel-collector
  ownership: owned
processes:
  web:
    command: ["bun", "run", "dev"]
    readiness:
      type: file
      path: /tmp/acountee-web-ready
routes:
  - path: /
    process: web
    port: 3000

Keep Compose ports internal. Publish through zerobased routes/listeners, not Compose host port binds.

Development rule:

  • No behavior should be added without RED-GREEN-TDD.
  • Tests must follow traced-TDD: each failure belongs to one declared layer contract, and upper layers test only their own transformed or propagated outcomes.
  • Repo-local up must publish to the daemon-owned control plane. It must not mutate Caddy directly.

Useful commands:

go test ./...
go test -tags system ./internal/systemtest
make build