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

imeeji

v0.1.2

Published

Interactive Docker image upgrade tool

Readme

imeeji

Interactive Docker image upgrade tool for configuration files.

Installation

npm

npm install -g imeeji

Deno

deno install -Agn imeeji jsr:@orz/imeeji

One-off

npx imeeji nginx

Usage

imeeji <file>              # Interactive mode
imeeji --dry-run <file>    # Print diff without modifying
imeeji -y <file>           # Auto-accept latest versions
imeeji --help              # Show help
imeeji --version           # Show version

Options

| Option | Description | | --------------- | --------------------------------------------- | | -n, --dry-run | Print unified diff without modifying the file | | -y, --yes | Auto-accept latest versions (non-interactive) | | -h, --help | Print help message | | -V, --version | Print version |

How It Works

  1. Parse - Scans the input file for docker image references matching domain/path:tag pattern
  2. Query - Fetches available tags from Docker Registry API v2 (supports Docker Hub, ghcr.io, gcr.io, quay.io, etc.)
  3. Analyze - Groups tags by prefix (v, release-) and suffix (-alpine, -slim), then finds the latest version in each group
  4. Select - Presents a batch selection UI showing current vs. recommended upgrades
  5. Apply - Outputs a unified diff or patches the file directly

Example

Given a Nix file:

virtualisation.quadlet.containers.postgres = {
  containerConfig = {
    image = "docker.io/library/postgres:18.1-alpine";
  };
};

Running imeeji config.nix:

Found 1 image(s) in config.nix
Fetching tags for docker.io/library/postgres...

Found 1 image(s) with available upgrades:

#   Image                          Current              → Upgrade
─── ────────────────────────────── ────────────────────   ────────────────────
1.  docker.io/library/postgres     18.1-alpine          → 18.2-alpine

Select images to upgrade (e.g., 1,2,4 or 'all' or 'none'): 1

Updated 1 image(s) in config.nix

Tag Grouping

The tool intelligently groups tags to suggest appropriate upgrades:

| Current Tag | Suggested Upgrade | Reasoning | | ------------- | ----------------- | ------------------------------------ | | 18.1-alpine | 18.2-alpine | Same variant (alpine), newer version | | v0.9.5 | v0.9.6 | Same prefix (v), newer version | | 8-alpine | 8.0-alpine | Same variant, latest in group |

Common prefixes: v, release-, stable-

Common suffixes: -alpine, -slim, -debian, -ubuntu, -bullseye, -bookworm

Dry Run Mode

Use --dry-run to preview changes in unified diff format:

imeeji --dry-run config.nix

Output:

--- a/config.nix
+++ b/config.nix
@@ -22,1 +22,1 @@
-            image = "docker.io/library/postgres:18.1-alpine";
+            image = "docker.io/library/postgres:18.2-alpine";

Development

Prerequisites

Run

deno run -P src/main.ts examples/a2.nix

Test

deno test -P src/

Permissions

Permissions are configured in deno.json and can be enabled with the -P flag:

| Permission | Reason | | ---------- | ------------------------------------------------------- | | net | Fetch tags from Docker registries | | read | Read configuration files | | write | Modify configuration files (not needed for --dry-run) |

Supported Registries

Any registry implementing Docker Registry HTTP API V2:

  • Docker Hub (docker.io)
  • GitHub Container Registry (ghcr.io)
  • Google Container Registry (gcr.io)
  • Quay.io (quay.io)
  • Private registries (if publicly accessible)

License

MIT