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

tmux-agent-cli-note

v0.5.0

Published

Vim-like brainstorm note tool for tmux, sends notes to AI CLI agents (Claude Code, OpenCode, Codex)

Readme

tmux-agent-cli-note

中文文档

A vim-like brainstorm note tool that runs inside tmux. Write notes, then send them directly to AI CLI agents (Claude Code, OpenCode, Codex, etc.) in the same tmux window.

Features

  • Vim-like modal editor — NORMAL / INSERT / COMMAND modes with familiar keybindings
  • Per-directory notes — notes are stored in .note/notes.json under each working directory
  • Multi-agent support — auto-detects all AI CLI panes, shows a selector when multiple are found
  • CJK friendly — proper display width handling for Chinese/Japanese/Korean characters
  • Zero dependencies — built with Node.js built-in modules only

Requirements

  • tmux 3.0+
  • Node.js 18+
  • Must be run inside a tmux session

Install

npm install -g tmux-agent-cli-note

Commands

note update — Self-update

note update

Check for the latest version and update automatically.

Usage

Run note inside a tmux pane:

note

Modes

| Mode | Description | |------|-------------| | NORMAL | Default mode. Navigate, enter other modes. | | INSERT | Type text freely. Press Esc to return to NORMAL. | | COMMAND | Type commands after :. Press Enter to execute. | | LIST | Browse all notes in the current directory. | | SELECT | Choose which AI agent to send to (when multiple found). |

NORMAL Mode Keys

| Key | Action | |-----|--------| | i | Enter INSERT mode | | : | Enter COMMAND mode | | q | Quit editor, return to list | | h j k l | Move cursor left / down / up / right | | x | Delete character under cursor | | dd | Delete current line | | g | Go to top | | G | Go to bottom | | A | Append at end of line, enter INSERT | | o | Open new line below, enter INSERT | | O | Open new line above, enter INSERT |

COMMAND Mode Keys

| Command | Action | |---------|--------| | :s | Send note content to AI agent pane | | :q | Quit editor | | :w | Save note | | :ls | Return to note list |

LIST Mode Keys

| Key | Action | |-----|--------| | j / k | Move selection up / down | | Enter | Open selected note | | n | Create new note | | d | Delete selected note (with confirmation) | | q | Quit |

Send Flow

  1. Press :s in NORMAL mode
  2. Auto-detect AI agent panes in the current tmux window
  3. One agent found — content is sent immediately
  4. Multiple agents found — selector appears, press number to choose, Esc to cancel

Text is pasted into the agent's input box. It is not auto-submitted — you can review and edit before pressing Enter in the agent pane.

Data Storage

Notes are stored per working directory:

your-project/
└── .note/
    └── notes.json

Example:

{
  "directory": "/path/to/your-project",
  "notes": [
    {
      "id": "a1b2c3",
      "content": "Your brainstorm text...",
      "createdAt": "2026-04-14T16:00:00Z",
      "updatedAt": "2026-04-14T16:05:00Z",
      "sentAt": "2026-04-14T16:10:00Z"
    }
  ]
}

Development

# Install dependencies
npm install

# Run directly with tsx (no build needed)
npm run dev

# Run with arguments
npm run dev:args -- update

# Build then run compiled output
npm run dev:build

# Type check only
npm run typecheck

| Script | Description | |--------|-------------| | npm run dev | Run entry point via tsx (skip build) | | npm run dev:args | Same as dev, convenient for passing args | | npm run dev:build | Build with tsc, then run compiled JS | | npm run build | Compile TypeScript to dist/ | | npm run typecheck | Type check without emitting files |

License

MIT