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

@gordonb/pi-notational

v0.1.1

Published

Notational Velocity for Pi coding agent

Readme

pi-notational

Notational Velocity for Pi coding agent. Search and create notes without friction.

A note-taking tool inspired by Notational Velocity's unified search-and-create flow. Type-ahead search over notes. Press enter to open an existing note, or keep typing to create a new note.

Works as a Pi coding agent extension or a standalone CLI.

Install

Pi extension

Requires Node.js 22+.

pi install npm:@gordonb/pi-notational

Standalone CLI

npm install -g @gordonb/pi-notational

Using

Pi extension

/notational [directory]

Opens a type-ahead finder inside Pi. Type to search. Hit enter to open or create. Notes are edited in Pi's built-in editor.

The flow

  1. Type to search — as you type, matching .md files are filtered in real time by title.
  2. Arrow keys to navigate — move through the filtered list.
  3. Enter to open — select an existing note to edit.
  4. Enter to create — if no match exists, press enter to create a new note with that title. A slugified filename is generated automatically (e.g. "How to cook with cornsalt" → how-to-cook-with-cornsalt.md).
  5. Esc to cancel — dismiss the finder without doing anything.

If you type a title that happens to match an existing file's slug, the existing note is opened instead of creating a duplicate.

Why Notational Velocity?

Notational Velocity's key insight is that searching and creating are the same gesture. You never have to decide up front whether you're looking for an existing note or starting a new one — just start typing. This removes the friction that keeps people from writing things down.

The same principle applies inside a coding agent. Quick notes, design decisions, scratch thoughts, bookmarks — they all benefit from a flow where capture is instant and retrieval is just as fast.

Note format

Notes are Markdown files with YAML frontmatter:

---
title: How to cook with cornsalt
created: "2026-03-09T06:00:00.000Z"
updated: "2026-03-09T06:00:00.000Z"
---

Buy box of Arm & Hammer raw cornsalt. Sprinkle on poultry before broiling.
  • title — the original, un-slugified title
  • created — set once when the note is first written
  • updated — bumped on every save
  • Any additional frontmatter fields you add by hand are preserved across edits.

Standalone CLI

pi-notational also works as a stand-alone CLI.

notational [directory]
notational --help

Run notational to open the note finder. Optionally pass a directory path — defaults to the current working directory. If the directory doesn't exist, it's created.

notational ~/notes

When you select or create a note, the file is opened in $EDITOR (falls back to vi). After you save and quit your editor, you're back at the shell.

# Use with any editor
EDITOR=nano notational ~/notes
EDITOR="code --wait" notational ~/notes

Settings

You can set a default notes directory in a notational.json settings file. There are two locations, checked in order:

| File | Scope | | ----------------------------- | ------------------------------------- | | .pi/notational.json | Project-local (per working directory) | | ~/.pi/agent/notational.json | Global (all projects) |

{
  "dir": "~/notes"
}

The local file always wins over the global one. The dir field in a local settings file is resolved relative to the working directory; in the global file it is resolved as an absolute path (or relative to the process cwd, so absolute is recommended). Explicit CLI arguments and /notational <dir> always take priority over both settings files.

Development

Requires Node.js 22+.

npm install
npm test
npm run lint
npm run format:check

License

MIT