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

pml-cli

v0.2.2

Published

Project Memory Layer

Readme

PML — Project Memory Layer

Continuous project authority for humans + AI

PML is a lightweight system that remembers your project so you don’t have to — and makes sure AI tools don’t forget either.

It watches your codebase, tracks decisions, enforces rules, and continuously feeds correct context to tools like Cursor and GitHub Copilot.

No dashboards.
No tickets.
No ClickUp clones.

Just memory, authority, and flow.


Why PML Exists

Modern development is broken in a subtle way:

  • AI can scaffold fast, but forgets context
  • Rules live in your head, not the repo
  • Decisions disappear after one prompt
  • Folder structures slowly rot
  • AI tools confidently violate constraints

You end up:

  • Re-explaining the project
  • Fighting hallucinations
  • Writing longer prompts
  • Losing trust in automation

PML fixes this by becoming the project’s long-term memory.


What PML Does

🧠 Persistent Project Memory

Stores:

  • Project identity
  • Folder structure
  • Rules & constraints
  • Architectural decisions

All in a single file: pml.json


👁 Continuous Awareness (Daemon)

PML runs quietly in the background and:

  • Watches file changes
  • Detects structure drift
  • Regenerates AI instructions automatically

It doesn’t interrupt — unless something matters.


🧭 Project Authority

PML doesn’t just observe. It enforces.

  • New folders? → flagged
  • Forbidden libraries? → violations
  • AI drift? → corrected at the source

This turns your project from suggestion-based to rule-based.


🤖 AI-Native (but not AI-dependent)

PML generates and maintains:

  • .cursor/rules.md
  • .github/copilot-instructions.md

So your AI tools always receive:

  • Correct structure
  • Current rules
  • Real decisions

No more “please remember…” prompts.


Installation

npm install -g pml or clone and run locally during development.

Quick Start Initialize memory pml init Creates pml.json in your project.

Sync project structure pml sync Scans folders and updates memory.

Remember a rule pml remember "Never use shadcn in this project" Rules become enforceable constraints.

Explain context (for humans or AI) pml explain auth Outputs a clean, focused context snapshot.

Copy AI-ready context pml context auth Copies structured project context directly to clipboard.

Run the daemon pml daemon PML now watches your project continuously.

Example output:

● MODIFY src/core/context.ts ✓ Project structure synced ✓ Cursor rules updated ✓ Copilot instructions updated Violations (The Important Part) PML flags problems as they happen:

✗ VIOLATION Rule: Undeclared folder File: src/random/experiment Future versions will support:

Rule approvals

Auto-fixes

Commit blocking

AI response validation

What PML Is Not ❌ A task manager

❌ A PM tool

❌ A Notion replacement

❌ A UI-heavy SaaS

PML lives inside your workflow, not on top of it.

Philosophy Projects need memory. AI needs authority. Humans need flow.

PML sits between all three.

Status Core CLI: ✅

Daemon: ✅

Cursor & Copilot sync: ✅

Structure violations: 🚧

Rule enforcement: 🚧

AI drift detection: 🚧

This project is early, opinionated, and moving fast.

License MIT. Use it. Break it. Improve it.

Final Note If you’ve ever thought:

“Why does my AI forget everything I just explained?”

PML is for you.