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 🙏

© 2025 – Pkg Stats / Ryan Hefner

prmp

v1.0.0

Published

Prompt Package Manager - Install and manage prompt-based files like Cursor rules and Claude sub-agents

Readme

Prompt Package Manager (PRPM)

A CLI tool for managing prompt-based files like Cursor rules and Claude sub-agents.

Installation

NPM (Recommended)

npm install -g prmp

Homebrew (macOS)

# Direct installation (recommended)
brew install khaliqgant/homebrew-prmp/prmp

# Or manual tap installation
brew tap khaliqgant/homebrew-prmp
brew install prmp

Direct Download

Download the latest binary from GitHub Releases.

Usage

Add a prompt package

# Add a Cursor rule
prmp add https://raw.githubusercontent.com/user/repo/main/cursor-rules.md --as cursor

# Add a Claude sub-agent
prmp add https://raw.githubusercontent.com/user/repo/main/agent.md --as claude

List installed packages

prmp list

Remove a package

prmp remove my-cursor-rules

Index existing files

# Scan existing .cursor/rules/ and .claude/agents/ directories
# and register any unregistered files
prmp index

How it works

  1. Download: Fetches files from raw GitHub URLs
  2. Save: Places files in the correct directory:
    • .cursor/rules/ for Cursor rules
    • .claude/agents/ for Claude sub-agents
  3. Track: Records installations in .promptpm.json

Example

# Add a Cursor rule
prmp add https://raw.githubusercontent.com/acme/rules/main/cursor-rules.md --as cursor

# List packages
prmp list

# Remove the package
prmp remove cursor-rules

# Index existing files (if you already have prompt files)
prmp index

Project Structure

After adding packages, your project will look like:

my-project/
├── .cursor/rules/
│   └── cursor-rules.md
├── .claude/agents/
│   └── agent.md
└── .promptpm.json

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development
npm run dev

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Run tests in watch mode
npm run test:watch

# Build binaries for distribution
npm run build:binary

# Test the CLI
npm run dev add https://raw.githubusercontent.com/user/repo/main/example.md --as cursor

Testing

The project includes comprehensive testing with:

  • Unit Tests: Test individual functions and modules
  • Integration Tests: Test command workflows and CLI interactions
  • Error Handling Tests: Test edge cases and error scenarios
  • CLI Tests: Test full command-line interface functionality

Test Coverage: 91%+ statement coverage across all modules

Test Commands:

  • npm test - Run all tests
  • npm run test:coverage - Run tests with coverage report
  • npm run test:watch - Run tests in watch mode
  • npm run test:ci - Run tests for CI/CD environments

Roadmap

PPM is currently in its early stages (v0.1.x) with basic package management functionality. We have ambitious plans to evolve it into a comprehensive package management ecosystem similar to npm.

Key Future Features:

  • 🏪 Central Registry - Public package repository with search and discovery
  • 📦 Package Publishing - Tools for authors to publish and manage packages
  • 🔍 Smart Discovery - AI-powered package recommendations and search
  • 🏢 Enterprise Features - Private registries, team management, and compliance
  • 🤖 AI Integration - Intelligent package management and quality assessment

See ROADMAP.md for detailed development plans and timeline.