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

@ban_/alfred

v0.3.0

Published

Repo-aware Codex companion for bootstrap, journaling, and session hygiene.

Downloads

183

Readme

Alfred

Alfred is a repo-aware Codex companion.

It gives you:

  • one global Alfred for your user context and external channels
  • one repo Alfred per repository for local execution
  • a small CLI to setup, start, inspect, and repair the runtime

Get Started

1. Install prerequisites

Required:

  • Node.js >= 22
  • npm
  • git
  • sqlite3
  • Codex CLI installed and authenticated

macOS:

brew install node git sqlite
brew install --cask codex

Debian / Ubuntu:

sudo apt-get update
sudo apt-get install -y nodejs npm git sqlite3

Windows native is not supported yet. Use WSL2.

2. Install Alfred

From npm:

npm install -g @ban_/alfred
alfred --version

From source:

git clone <repo-url> alfred
cd alfred
npm install
npm run build
npm link
alfred --version

3. Run first-time setup

Global setup:

alfred setup --global

Non-interactive setup:

alfred setup --global --yes

Alfred will:

  • detect codex
  • write ~/.alfred/config.json
  • create ~/.alfred/user/SOUL.md
  • create ~/.alfred/user/MEMORY.md

If a dependency is missing, Alfred prints the install hint for your platform.

4. Setup a repo

Inside a repo:

cd /path/to/repo
alfred setup

Or explicitly:

alfred setup --repo /path/to/repo

This creates the repo Alfred context, including AGENTS.md, MEMORY.md, and the local runtime state.

5. Start working

Inside a repo:

cd /path/to/repo
alfred

Outside any repo:

cd ~
alfred --global

Core Commands

alfred
alfred setup
alfred doctor
alfred status
alfred watch --last 30
alfred ticket --task "Implement the pagination fix"
alfred reset

Useful forms:

alfred doctor --fix
alfred setup --yes
alfred status --global
alfred setup --repo /path/to/repo

WhatsApp

WhatsApp is optional.

Configure and pair:

alfred gateway start
alfred gateway whatsapp config --owner +33612345678 --enable
alfred gateway whatsapp pair
alfred gateway whatsapp status

Reset a broken session:

alfred gateway whatsapp reset
alfred gateway stop
alfred gateway start

Release Checks

Before publishing a new package:

npm run typecheck
npm run build
npm run smoke:npm-install
npm pack --dry-run

More

For deeper onboarding and install notes, see docs/install-and-onboarding.md.