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

@davevdveen/spec-reader

v0.1.7

Published

Beautiful reading experience for OpenSpec specification files

Readme

SpecReader

Beautiful reading experience for OpenSpec specification files and project documentation.

Why

AI-assisted development generates specs, proposals, and designs faster than ever. But reviewing structured markdown in a terminal or a GitHub diff is painful. When specs are hard to read, they don't get read.

SpecReader gives your specifications a proper reading experience. Collapsible requirements, themed reading modes, and structured navigation make it natural to review proposals and specs, whether they're yours or someone else's.

Quick start

npx @davevdveen/spec-reader@latest

Works on any project directory. Auto-detects OpenSpec folders and renders everything readable: specs, proposals, READMEs, configs, and more.

Try it on the OpenSpec framework itself:

git clone https://github.com/Fission-AI/OpenSpec && cd OpenSpec && npx @davevdveen/spec-reader@latest

AI coding agent skill

SpecReader includes a skill for AI coding agents (Claude Code, OpenCode) that opens the viewer for any PR or branch:

/read-specs              # open specs for current branch
/read-specs 42           # checkout PR #42 and open its specs
/read-specs feature/xyz  # checkout branch and open specs

Install the skill in your project:

npx @davevdveen/spec-reader@latest init

This auto-detects your agent (Claude Code, OpenCode, or both) and installs the skill in the right place.

Scopes

| Scope | Shows | |-------|-------| | Specs | OpenSpec files | | Docs | All markdown files | | All | All readable files (.md, .yaml, .yml, .txt, extensionless) | | Search | Filter across all files |

Themes

Four reading themes, each with light and dark variants:

| Theme | Font | |-------|------| | Original | Sans-serif | | Paper | Georgia serif | | Calm | Serif, warm tones | | Mono | Monospace |

Follows system light/dark preference with manual override.

Commands

spec-reader                          # serve current directory
spec-reader ~/projects/myapp         # serve any project
spec-reader export openspec/ dist/   # export static site
spec-reader init                     # install AI agent skill
view-proposal add-dark-mode          # open viewer on a proposal

Keyboard shortcuts

| Key | Action | |-----|--------| | | Previous / next page | | | Scroll content | | - | Expand / collapse all sections in the document | | Cmd+Shift+R | Toggle sidebar |

How it works

A single HTML file served by a shell script that walks your directory, generates a manifest, and starts Python's built-in HTTP server. Zero runtime dependencies beyond Python 3.

File changes are detected every 3 seconds. Edit a spec, see it update in the viewer.

Prerequisites

  • Python 3 (used to serve files locally)
  • Node.js (for npx installation only)
  • gh CLI (optional, for the /read-specs skill to checkout PRs)

Works on macOS, Linux, and Windows (WSL). Tested in Safari, should work in any modern browser.

Install

npm install -g @davevdveen/spec-reader
npx @davevdveen/spec-reader@latest

License

MIT