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

@dijin/cli

v1.4.0

Published

Reference command-line reader for Dijin Memory Format (DMF) archives — inspect, verify, and search any DMF archive without the Dijin app.

Downloads

245

Readme

@dijin/cli

Reference command-line reader for the Dijin Memory Format (DMF) — a portable, signed, deterministic format for personal memory archives.

dijin-cli is the second reference implementation of the DMF spec. The first lives inside @dijin/mcp-server; this CLI is intentionally independent so the spec is exercised by two separate readers. Anyone writing a third implementation (in Rust, Python, Go, …) can use both as references.

Read-only. This tool never modifies an archive.

Install

npm install -g @dijin/cli

Quick start

# Auto-discover the active Dijin archive on this machine
dijin info

# List the most recent sessions
dijin sessions

# Print one session in full (transcript + insights)
dijin show ses_<id>

# Verify every Ed25519 signature in the archive
dijin verify

# Verbatim text search across segments + translations
dijin search "trafik"

Pass an explicit path to point at any DMF archive, anywhere:

dijin info /path/to/some/.dijin

What the CLI does

| Command | What it shows | Notes | |---------|---------------|-------| | info | manifest version + ID + owner key + identity profile | Plus session/segment/insight counts | | sessions | one row per session: date, duration, segment count, title | Most recent first | | show <id> | full session: segments (timestamp · speaker · language · text) + insights | | | verify | every signature checked with the archive's owner_public_key | Exit code 2 if tampering found | | search <q> | substring match across content.text and translation.text | Cross-language by virtue of stored translations |

Path discovery

When you don't pass a path, the CLI walks the same candidates the MCP server uses:

  1. $DIJIN_ARCHIVE_ROOT
  2. ~/Library/Containers/company.dijin.dijin/Data/Library/Application Support/dijin-memory (Dijin macOS app sandbox)
  3. ~/Library/Application Support/dijin-memory (non-sandboxed install)

If a multi-user root is detected, the active user's .dijin archive is loaded automatically (per active_user.txt).

Why this exists

The DMF spec lives or dies by whether anyone can write a reader for it. Shipping a second implementation alongside the spec is the simplest way to prove that the format is unambiguous and self-contained — no Dijin app, no proprietary library, just JSON files on disk and well-known crypto.

License

MIT (this code) · CC BY 4.0 (the DMF spec)