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

@slop-lab/dim-installer

v0.10.0

Published

User-local installer for DIM and optional DIM plugins

Readme

@slop-lab/dim-installer

@slop-lab/dim-installer is the pinned installer and facade for @slop-lab/dim-cli. Its executable is also dim. It installs exact package versions without sudo; commands outside the installer namespace are forwarded unchanged to the installed CLI.

DIM supports Linux hosts only. Pin and review one exact release:

mise use --raw --global 'npm:@slop-lab/[email protected]'
dim installer install core \
  --host-mirror-plugin '@slop-lab/[email protected]'

The equivalent one-shot form is:

npx '@slop-lab/[email protected]' installer install core \
  --host-mirror-plugin '@slop-lab/[email protected]'

Commands

dim installer
dim installer install core [--local-bin|--no-local-bin] [--prefix PATH]
  --host-mirror-plugin PACKAGE@EXACT_VERSION
dim installer install control-plane --config ABSOLUTE_FILE
dim installer recover control-plane --roll-forward --generation GENERATION
dim installer install plugin PACKAGE@EXACT_VERSION...
dim installer enable-plugin PACKAGE...
dim installer disable-plugin PACKAGE...
dim installer remove-plugin PACKAGE...

Bare dim installer is interactive only on a TTY. Once a CLI is installed, all non-installer commands are forwarded to that exact CLI. The obsolete install-cp token is rejected rather than aliased or forwarded.

Core installation

The installer stages a complete candidate runtime, validates its package and plugin graph, runs the candidate core's read-only compatibility preflight, and only then promotes it. A required host-mirror plugin is selected by the trusted operator, never by Project or agent input.

--no-local-bin keeps dim behind the mise/facade path. --local-bin manages one symlink below the selected prefix. The installer refuses to overwrite any file or symlink it does not own. Registry installs must use the installer's exact version; ranges and latest are not accepted.

Native control plane

The native Git schema-7 source may include its optional qemuCi dependency for a separately deployed native QEMU scheduler. The installer validates its service identity and HTTP(S) origin, includes all six role credentials in cross-role collision checks and diagnostic secret redaction, and leaves scheduler deployment to the operator.

dim installer install control-plane --config /absolute/operator/install.json

The configuration must be an absolute, owner-only strict file. Installation publishes a digest-pinned native Git and ordinary-CI service generation, proves its topology and readiness, then activates ordinary CI before native Git. The services start empty and idle.

This command does not create Projects or repositories, advertise execution capacity, run jobs, approve reviews, promote refs, install a reviewer UI, or install native QEMU. Ordinary Sysbox hosts and native QEMU scheduler/runner hosts are separate global deployments through the installed CLI.

If candidate activation is uncertain, the installer retains the exact generation and requires explicit roll-forward recovery:

dim installer recover control-plane \
  --roll-forward \
  --generation aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Recovery accepts only the journaled generation and immutable published bytes. It has no rollback, cleanup, repair, or alternate-generation mode.

Compatibility boundary

Before changing the runtime, the candidate parser inspects only canonical DIM state. Current root-only native Project and workspace records proceed. Obsolete provider, repository, Project-scoped runner, ordinary-pool, and shared-QEMU state is rejected unchanged. The installer does not adopt, reinterpret, migrate, stop, delete, or rename predecessor containers, volumes, remotes, credentials, or databases.

Use the pinned prior release to stop predecessor services and export needed user data. Validate that export outside DIM state, install fresh native state, and restore only declared user data. Disposal of old resources is a separate explicit operator action.

Plugins

Plugin coordinates must be exact versions. Local tarballs are copied into installer-owned storage so replacement does not depend on the original path. Installed plugins share the runtime's exact @slop-lab/dim-core and are validated before activation.

Installer configuration is stored below ${XDG_CONFIG_HOME:-$HOME/.config}/dim; runtime data is below ${XDG_DATA_HOME:-$HOME/.local/share}/dim. Treat both as trusted host state.

See the normative installer contract and adoption guide.