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

devcache-hub

v0.16.1

Published

Intelligent project documentation generator with cloud sync and RAG-powered search

Readme

DevCache Hub

Intelligent project documentation generator with cloud sync and RAG-powered search

DevCache Hub automatically analyzes your codebase and generates comprehensive, structured documentation. Push your docs to the cloud and leverage RAG (Retrieval-Augmented Generation) for intelligent search.

Features

  • 🤖 Automatic Analysis - Scans your project and extracts insights
  • 📝 Template-Based Docs - Generates organized markdown documentation
  • ☁️ Cloud Sync - Push documentation to Supabase
  • 🔍 RAG Search - AI-powered semantic search through your docs
  • 🎯 Multi-Category - Separates general and technical documentation

Installation

npm install -g devcache-hub

Quick Start

# Initialize in your project
cd my-project
devcache init

# Generate documentation
devcache generate

# Login to sync
devcache login

# Push to cloud
devcache push

Documentation Structure

After running devcache init, the following structure is created:

your-project/
├── .devcache.json              # Configuration file (read by CLI)
└── devcache_docs/              # Documentation root
    ├── index.md                # Navigation guide
    ├── .devcache.json          # Config copy (for reference)
    ├── templates/              # Template definitions
    │   ├── general/            # General templates
    │   ├── tech/               # Technical templates
    │   ├── orchestrator.md     # Orchestrator instructions
    │   └── README.md           # Template system guide
    └── {project-name}/         # Generated documentation
        ├── index.md            # Project documentation index
        ├── general/            # General category docs
        │   ├── project-overview.md
        │   └── project-impact.md
        └── tech/               # Technical category docs
            ├── architecture-project.md
            ├── stack-project.md
            └── features.md

Key Points

  • Configuration: .devcache.json in project root (used by CLI commands)
  • Templates: devcache_docs/templates/ contains all template definitions
  • Generated Docs: devcache_docs/{project-name}/ contains your documentation
  • Organization: Docs are split into general/ and tech/ categories

DevCache generates documentation in two categories:

General

  • project-overview.md - Project purpose and objectives
  • project-impact.md - Problem statement and solution approach

Technical

  • architecture-project.md - System architecture overview
  • stack-project.md - Technology stack analysis
  • features.md - Main features and API endpoints

Configuration

DevCache creates a .devcache.json file in your project root:

{
  "projectName": "my-project",
  "description": "Optional project description",
  "outputDir": "devcache_docs",
  "templates": {
    "general": ["project-overview", "project-impact"],
    "tech": ["architecture-project", "stack-project", "features"]
  },
  "supabase": {
    "enabled": true,
    "projectId": null
  },
  "analysis": {
    "includePatterns": ["src/**/*", "app/**/*", "lib/**/*"],
    "excludePatterns": ["node_modules/**", "dist/**", ".next/**"]
  }
}

Supabase Sync Configuration

The supabase.enabled flag controls automatic sync behavior:

  • true: Enables cloud sync features and reminders
  • false: Local-only mode (but manual devcache push still works!)

Important: Even if you set enabled: false during init, you can always:

  1. Run devcache login to authenticate
  2. Run devcache push to manually sync your docs

The flag only controls automatic behavior, not your ability to use cloud features.

See SUPABASE-SYNC.md for detailed information.

Commands

  • devcache init - Initialize DevCache in your project
  • devcache generate - Generate documentation
  • devcache login - Authenticate with Supabase
  • devcache push - Push documentation to cloud
  • devcache status - Check sync status

Requirements

  • Node.js >= 18.0.0
  • npm or yarn

License

MIT

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Support

For issues and questions, please visit our GitHub Issues.