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

@paleo/workspace

v0.29.0

Published

Run multiple git-worktree dev environments side by side.

Downloads

920

Readme

@paleo/workspace

Run multiple local dev environments side by side, one per git worktree, with isolated ports, databases, and config files. Built for branches worked in parallel, by humans or AI agents.

What is a workspace?

A workspace is one isolated stream of work. It is close to Conductor's sense of the word, with the dev-server setup made explicit. It bundles:

  • a branch;
  • a git worktree checked out to it;
  • a dev-server setup:
    • a port range (a slot of ~10 contiguous ports).
    • the config files (.env, compose files, …) rewritten to that range, so the dev servers run in isolation: the backend port, the frontend port, the exposed port of a database container, and so on.

Several workspaces run at once without colliding, so you can develop, test, or hand a branch to an agent in parallel.

Setup

The alignfirst-setup-guide skill is a setup-time companion. Temporarily install the skill (globally or locally):

npx skills add https://github.com/paleo/alignfirst --skill alignfirst-setup-guide

Then, in your project, ask your agent:

Use your *alignfirst-setup-guide* skill. Set up *workspaces* in this project.

The agent reads the skill, adapts the reference scripts to your stack, installs @paleo/workspace as a dev dependency, and wires the npm/pnpm/yarn scripts. After that, you can uninstall the skill, it won't be used by your project anymore.

Two custom scripts will be written during setup, using these entry points provided by @paleo/workspace:

  • runWorkspace(config) — worktree lifecycle (setup / remove).
  • runDevServer(config) — dev-server start (foreground or background) / stop / list.

Workflow

npm run workspace -- setup -c feat/42        # new branch + worktree + isolated env
npm run dev                             # foreground: stream logs, CTRL+C stops; attaches if already running
npm run dev -- up                       # start in the background (no-op if already running here)
npm run dev -- up --restart             # stop the dev-server in this worktree if running, then start fresh
npm run dev -- up --evict               # if devLimit is reached, evict the oldest dev-server and start
npm run dev -- restart                  # stop the dev-server in this worktree if running, then start in the background
npm run dev -- status                   # report whether this worktree's dev-server is UP or DOWN
npm run dev -- list                     # active dev-servers across all worktrees
npm run dev -- down                     # stop dev server (infrastructure stays up)
npm run workspace -- remove ../my-wt    # full teardown (by dir path/name, --slot, or omit for current)
npm run workspace -- prune              # heal workspaces whose worktree was deleted out-of-band
npm run workspace -- --guide            # full operating guide (workspace + dev-server)

--guide prints the complete workspace + dev-server procedures in your package-manager's syntax. Point agents at it instead of maintaining a separate doc.

API Reference

The documentation on runWorkspace and runDevServer (ports, configFiles, finalizeWorktree, dev-server descriptors, and more), along with the design rationale, lives in the skill's workspace-setup.md reference.