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

codetape

v0.1.1

Published

The flight recorder for AI coding — keeps your docs in sync with your code

Readme

Codetape

The flight recorder for AI coding — keeps your docs in sync with your code.

npm version license node website

A Claude Code skill that automatically maintains documentation as AI agents modify your codebase. Zero dependencies. Fully local.

The Problem

A single Claude Code session can modify 40+ files across your project. When the session ends, your README, CHANGELOG, and architecture docs remain frozen in the past. Future-you opens the project a week later and has no idea what happened. Future AI sessions hallucinate against stale docs. The gap between code reality and written documentation grows with every session.

The Solution

Codetape captures the semantic meaning of code changes — not just diffs, but why things changed — and keeps your documentation synchronized. It turns Claude into a code historian that records traces, detects drift, and regenerates docs on command. Everything stays local. No cloud, no accounts, no runtime dependencies.

Quick Start

npx codetape init        # Set up tracking in your project
# ... make some code changes with Claude Code ...
/trace                     # Record what changed and why
/trace-sync                # Update your docs automatically

That's it. Your README, CHANGELOG, and ARCHITECTURE.md stay in sync.

Commands

| Command | Description | |---------|-------------| | /trace | Record a semantic trace of recent changes | | /trace-sync | Sync documentation from traces | | /trace-review | Detect documentation drift | | /trace-map | Generate architecture docs with dependency graphs | | /trace-log [component] | Query change history | | /trace-commit | Generate conventional commit message | | /trace-init | Initialize tracking (in-session alternative to CLI) |

How It Works

Codetape has two layers: a CLI that scaffolds the project, and a Skill that provides AI intelligence inside Claude Code sessions.

The CLI (npx codetape init) creates a .codetape/ directory and installs the skill into .claude/skills/codetape/. The skill teaches Claude how to record traces, detect drift, and regenerate docs — all through natural language commands.

All data lives locally in .codetape/. Source code is never modified — only documentation files are touched. The skill uses progressive disclosure: SKILL.md is the entry point, with references/ and templates/ loaded on demand.

.codetape/
├── traces/           # Semantic change records (timestamped JSON)
├── config.json       # Sync targets, strategies, language settings
├── references/       # Deep-dive docs loaded on demand
└── templates/        # Output templates for each doc type

Zero runtime dependencies. No background processes. No watchers. Runs only when you invoke a command.

Installation

Recommended — per-project setup:

npx codetape init

Global — install for all projects:

npx codetape install -g

Manual — copy the skill directly:

cp -r skill/ .claude/skills/codetape/

Sync Strategies

| Strategy | Behaviour | Used For | |----------|-----------|----------| | append-managed | Only modifies <!-- codetape --> markers | README, CLAUDE.md | | prepend | Adds new entries at top | CHANGELOG | | overwrite | Regenerates entirely from traces | ARCHITECTURE.md | | merge | Preserves human-written sections | Mixed docs |

Supported Languages

TypeScript/JavaScript, Python, Rust, Go, Swift, GDScript (Godot).

Roadmap

  • [x] Phase 1: Core skill + CLI
  • [ ] Phase 1.5: Session briefing, drift detection, CLAUDE.md auto-sync
  • [ ] Phase 2: Decision memory, trace archival, quality self-check
  • [ ] Phase 3: MCP server, cross-platform (Cursor, Codex, Windsurf), web dashboard

Contributing

Issues and pull requests are welcome. Please open an issue first to discuss larger changes.

git clone https://github.com/888wing/codetape.git
cd codetape
node bin/codetape.js init   # dogfood it

License

MIT