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

@assemblyline/al-control

v0.9.0

Published

The control room CLI for Assembly Line: watch and operate factories across hosts, locally or over SSH

Readme

al-control

The control room CLI for Assembly Line: watch and operate factories on this machine or on machines you reach over SSH. See what's in every bin, why workpieces failed, and start or stop factory sessions.

al-control lines status -f .                    # the factory you're in
al-control hosts use build-box
al-control factories list
al-control lines status -f factory-globex
al-control workpieces watch inv-35 -f factory-globex
al-control procs restart -f factory-globex
al-control workpieces errors              # why things failed, on every factory

Beta. Docs · About · Changelog

How it works

                    ~/.al/al-control/config.yml
                    hosts → factories → paths
                               │
                    al-control (your machine)
              resolve host + factory · logic · output
                ┌──────────────┴──────────────┐
          host: local                  host: <ssh alias>
     probe in-process              ssh → node - (probe on stdin)
     pm2 directly                  ssh → pm2
                                   host needs node + pm2, nothing else
  • One config, one host at a time. Like a kubectl context: hosts use picks the host, --host overrides it once.
  • Factories are named, never inferred. Per-factory commands take -f <name> from the config, or a path: -f . is the factory you're standing in, and needs no config. The current directory is never used unless you type it.
  • Nothing installed on remote hosts. A small read-only script is piped to the host's node over your own ssh, so ~/.ssh/config, keys and Tailscale SSH all just work.

Install

npm install -g @assemblyline/al-control

Node.js 18+, macOS or Linux.

Config

~/.al/al-control/config.yml:

current_host: local
hosts:
  local:
    factories:
      factory-acme: ~/factories/factory-acme
  build-box:
    ssh: build-box            # alias from ~/.ssh/config
    node: /home/me/.nvm/versions/node/v22.21.0/bin/node   # if node/pm2 come from nvm
    factories:
      factory-globex: ~/factories/factory-globex
      factory-acme:                # long form: bins `workpieces clear` must never touch
        path: ~/factories/factory-acme
        keep: [VM5/output, VM5/done]

Factory paths are paths on that host. Remote hosts need key-based SSH (no password prompts). When to set node: — see node and pm2 over non-interactive SSH.

Commands

| Command | Needs -f | What it does | | --- | --- | --- | | hosts list / use <name> / current | | Configured hosts; set the current one | | factories list | | Configured factories on the host, running or not, with CPU/RAM | | lines list / show <line> / status [line] | yes | Lines, their stations, live bin counts | | stations status <code> | yes | One station's bins and workpieces | | workpieces list / show <id> / watch [id] | yes | Where each workpiece is, its journey (and error, files), a live tail | | workpieces count [failed\|done\|finished] / errors | optional | Failed, done and finished counts; failures grouped by error. All factories unless -f | | workpieces cat <id> <file> / open <id> | yes | Read a file from a workpiece folder; open the folder (a shell in it, on a remote host) | | workpieces requeue --bin STATION/failed / requeue <id> | yes | Move failed workpieces (or one failed or done workpiece) back to their station's input to run again. Dry run unless --yes | | workpieces clear --bin done\|finished / clear <id> | yes | Delete done or finished workpieces, or one workpiece's copies; --older-than <days>. Dry run unless --yes; kept and conveyor-fed bins are skipped | | procs list | | Every factory process on the host | | procs start / stop / restart / logs | yes | pm2 control for one factory | | procs monit | | pm2's interactive monitor on the host | | config show | | Config path, hosts and factories |

--json on list/show/status commands; --watch on lines status and stations status. <command> --help for every option.

al-control, al-orc and the factory command

  • al-control watches and operates the floor: bins, workpieces, failures and factory sessions, wherever they run. It doesn't run stations; the only delete is the guarded workpieces clear.
  • al-orc talks to the Orchestrator: line and station definitions, runs, work records.
  • npx factory ships with lib-factory in every factory repo and runs one station locally while you build it (npx factory stations run <CODE>).

Docs

  • docs/architecture/ — how the pieces work and the constraints to keep (probe rules, SSH transport, pm2 matching).
  • docs/decisions/ — why it's built this way, and what was rejected.

License

Apache-2.0