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

remember-when-cli

v1.1.22

Published

Local storage CLI for digital memories

Readme

Remember When - Storage CLI

The persistence engine for the Remember When digital memory system. This Node.js CLI handles local file organization, group-based storage, cross collections, contextual enrichment, and inventory auditing.

📦 Installation

Install globally to enable the remember-when command system-wide:

npm install -g remember-when-cli

Then initialize storage:

remember-when install

This creates ~/.remember-when/ and a ~/Memories symlink.

🛠 Command Reference

install

Initializes the storage root and creates the ~/Memories symlink.

remember-when install

add

Registers a new entry and optionally copies a file to the group's daily collection.

remember-when add -g "Friends" -t "photo" -s "Juan" -r "Beach day" -f "/tmp/img.jpg"

set-group-info

Creates or updates a group with description and participants.

remember-when set-group-info -g "Friends" -d "Local hangout crew" -p "Juan, Eric, Maria"

set-daily-summary

Adds a high-level summary of what happened during a specific day.

remember-when set-daily-summary -g "Friends" -d "2026-04-10" -s "We planned the summer trip."

set-daily-context

Adds contextual information (weather, news, historical events) to a day.

remember-when set-daily-context -g "Friends" -d "2026-04-10" --weather "28C sunny" --news "Local festival" --historical-events "April 10: First subway opened"

enrich-entry

Adds enrichment data (history, location, type) to a specific entry.

remember-when enrich-entry -g "Friends" --date 2026-04-10 --entry-id abc123 --history "Built in 1923" --enrich-type "Monument" --location "Barcelona"

inventory

Audits all groups, collections, and missing information.

remember-when inventory

create-cross

Creates a cross collection within a group.

remember-when create-cross -g "Friends" -n "summer-trip" --display-name "Summer Trip 2026" -d "All summer trip moments"

add-to-cross

Adds an entry reference to a cross collection.

remember-when add-to-cross -g "Friends" -c "summer-trip" --date 2026-04-10 --entry-id abc123

list-cross

Lists all cross collections in a group.

remember-when list-cross -g "Friends"

show-cross

Shows the resolved entries of a cross collection.

remember-when show-cross -g "Friends" -c "summer-trip"

set-rule

Adds a rule for automatic cross collection suggestions.

remember-when set-rule -g "Friends" --trigger keyword --pattern "viatge|viaje|trip" --action suggest-cross --cross-collection trips

list-rules

Lists all rules for a group.

remember-when list-rules -g "Friends"

📂 Storage Architecture

All data is stored in ~/.remember-when/ (symlinked as ~/Memories):

~/.remember-when/
├── inventory.json                         (master index of all groups)
├── <Group-Name>/
│   ├── collection-index.json              (index of collections/days + cross refs)
│   ├── rules.json                         (rules + enrichment config)
│   ├── <YYYY-MM-DD>/
│   │   ├── collection.json                (entries + daily summary + daily context)
│   │   └── <files>                        (physical media files)
│   └── cross/
│       └── <slug>.json                    (cross collection references)

Groups are fully isolated

Data from one group never mixes with another.

🧪 Testing

npm test