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

create-prd

v1.0.2

Published

A CLI that turns a rough app idea into a clean PRD markdown file

Readme

create-prd npm version npm downloads License: MIT

A CLI tool that generates a complete product requirements documentation workspace for your project.

Install

npx create-prd

Or install globally:

npm install -g create-prd
create-prd

Usage

# Generate docs in the current directory
npx create-prd

# Generate docs in a specific directory
npx create-prd --dir my-project

# Overwrite existing docs
npx create-prd --dir my-project --force

# Generate docs with AI
OPENAI_API_KEY=sk-... npx create-prd --ai

# Use a different AI provider
ANTHROPIC_API_KEY=sk-... npx create-prd --ai --provider anthropic

# Show help
npx create-prd --help

Options

| Option | Description | |--------|-------------| | --dir <name> | Output directory (default: current directory) | | --force | Overwrite existing files | | --ai | Use AI to generate documentation (requires API key) | | --provider <name> | AI provider: openai, anthropic, groq, openrouter (default: openai) | | --api-key <key> | API key for AI provider (or use env var) | | --help, -h | Show help message | | --version, -v | Show version number |

Output Structure

docs/
├── 01-product/
│   ├── PRD.md                — Product Requirements Document
│   ├── FEATURES.md           — Feature list and descriptions
│   ├── USER_STORIES.md       — User stories with acceptance criteria
│   ├── ACCEPTANCE_CRITERIA.md — Detailed acceptance criteria
│   └── ROADMAP.md            — Product roadmap
├── 02-technical/
│   ├── TECH_STACK.md         — Technology stack decisions
│   ├── ARCHITECTURE.md       — System architecture overview
│   ├── DATABASE_SCHEMA.md    — Database schema design
│   ├── API_SPEC.md           — API endpoint specifications
│   ├── AUTH.md               — Authentication & authorization
│   └── DEPLOYMENT.md         — Deployment guide
├── 03-development/
│   ├── TASKS.md              — Development task breakdown
│   ├── SPRINT_01.md          — Sprint 1 backlog
│   ├── SPRINT_02.md          — Sprint 2 backlog
│   ├── BACKLOG.md            — Full product backlog
│   └── CHANGELOG.md          — Release changelog
├── 04-design/
│   ├── DESIGN_SYSTEM.md      — Design tokens and components
│   ├── BRAND.md              — Brand guidelines
│   ├── USER_FLOWS.md         — User flow diagrams
│   └── WIREFRAMES.md         — ASCII wireframes
├── 05-ai/
│   ├── CLAUDE.md             — Claude AI configuration
│   ├── GPT.md                — GPT configuration
│   ├── CURSOR_RULES.md       — Cursor AI rules
│   └── AGENTS.md             — AI agent configuration
└── prompts/
    ├── planner.md             — Technical planning prompt
    ├── frontend.md            — Frontend development prompt
    ├── backend.md             — Backend development prompt
    ├── mobile.md              — Mobile development prompt
    ├── database.md            — Database design prompt
    ├── designer.md            — UI/UX design prompt
    └── reviewer.md            — Code review prompt

AI-Powered Generation

Pass --ai to generate documentation using an LLM instead of the built-in templates. The AI produces richer, more tailored content with realistic brand colors, specific metrics, and project-specific backlog items.

Providers

| Provider | --provider value | Env variable | Default model | |----------|-----------------|--------------|---------------| | OpenAI | openai | OPENAI_API_KEY | gpt-4o-mini | | Anthropic | anthropic | ANTHROPIC_API_KEY | claude-sonnet-4-20250514 | | Groq | groq | GROQ_API_KEY | llama-3.3-70b-versatile | | OpenRouter | openrouter | OPENROUTER_API_KEY | openai/gpt-4o-mini |

# OpenAI (default)
export OPENAI_API_KEY=sk-...
npx create-prd --ai

# Anthropic
export ANTHROPIC_API_KEY=sk-ant-...
npx create-prd --ai --provider anthropic

# Groq
export GROQ_API_KEY=gsk-...
npx create-prd --ai --provider groq

The wizard still runs to collect your project details, then 5 batched LLM calls generate all 31+ files. No manual editing of placeholders needed.

License

MIT