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

@thjodann/wk

v1.0.4

Published

Wikiwiki is an agent-native living documentation system for code repos.

Readme

Wikiwiki is quiet infrastructure for a project's own wiki. It is a scriptable CLI for teams that want local, deterministic project knowledge, and it becomes more capable when an agentic IDE uses the same commands while code changes.

The core idea is simple: keep structured repo knowledge in plain JSONL records, make article records the public wiki pages, and use concepts, decisions, notes, symbols, events, and links as the evidence ledger behind them. No hosted service, database, vector store, or hidden memory layer is required.

Quick Start

Install Wikiwiki as @thjodann/wk in the repo that should keep a wiki:

test "$(npm prefix)" = "$PWD" || npm init -y
npm install --prefix "$PWD" --save-dev @thjodann/wk
./node_modules/.bin/wk --help

The public package is published on npm as @thjodann/wk; the badge above shows the latest version.

The npm prefix check prevents npm from climbing into an ancestor project when the target repo has no local package.json. Use your repo's normal lockfile policy after the package is installed.

For local development on Wikiwiki itself, install and run from source:

npm install
npm run build
npm link

Initialize Wikiwiki in a repo:

wk setup --profile mixed --audience all
wk theme preview --json
wk theme init
wk pages init

For an agentic IDE install, include the companion skill:

wk setup --profile mixed --audience all --agent codex

Check status and inspect the current working tree:

wk status --json
wk spin --profile mixed --json

Add a public article as knowledge becomes durable:

wk article add \
  --title "Getting started" \
  --summary "The first successful path for a new user." \
  --body "Install the project, run the first command, and verify the expected output." \
  --categories guides,onboarding \
  --tags audience:user,getting-started

Add supporting records when they capture evidence, decisions, or maintainer context:

wk concept add \
  --name "Structured records" \
  --summary "JSONL records are the source of truth for repo knowledge." \
  --files .wikiwiki/records/concepts.jsonl \
  --tags audience:developer,architecture,docs

Render the wiki and site:

wk validate
wk render
wk site --audience user
open wiki-site/index.html

Each wk site run replaces wiki-site/, so render only the audience you want to inspect or publish last.

Close out meaningful work with a review packet:

wk closeout --profile mixed --audience all --json

If a repo already uses Beads, Wikiwiki detects .beads/ automatically. Detailed bd reads are opt-in through .wikiwiki/config.json because some Beads versions can touch internal storage during read commands. Publishing the Beads-powered work.html site page is also explicit opt-in; user-audience sites omit Beads data entirely. If Beads is absent, the normal flow is unchanged.

Docs

  • Concepts: what Wikiwiki stores, renders, and optimizes for.
  • Setup: source install, awesome initial install, agentic IDE setup, and the "Update wk" agent pipeline.
  • Workflows: dogfooding, JSON-first agent work, revisions, and closeout.
  • Reference: commands, profiles, theming, GitHub Pages, npm releases, status, and roadmap.

Current Status

Wikiwiki is an article-first CLI foundation. It currently includes:

  • TypeScript CLI
  • JSONL record storage with append-only revisions and deletion tombstones
  • first-class article records with wk article add
  • Zod validation
  • Git-aware spin with deterministic user, developer, and mixed profile recipes
  • audience tagging and audience-focused site rendering
  • article-led Markdown rendering into wiki/
  • article-led static HTML site generation into wiki-site/
  • safe Markdown-to-HTML rendering for generated article and summary prose
  • project theme overrides with light, dark, and system-auto support
  • product-identity theme generation through wk theme, including paired light/dark palettes
  • agent-mediated UX/DX human wiki compilation
  • local search across articles, active records, and rendered docs
  • scriptable setup through wk setup, including optional Codex skill install with --agent codex
  • user-focused GitHub Pages workflow scaffolding through wk pages init
  • deterministic closeout draft packets through wk closeout
  • installable Codex-compatible wk agent skill
  • optional read-only Beads integration for developer work context
  • public npm package @thjodann/wk
  • GitHub Release-based npm publishing through Trusted Publishing
  • bundled Codex skill behavior where bare wk//wk opens the generated site
  • dogfooded article pages for this repo's generated wiki
  • CI and tests

The package and release foundation is complete enough for regular patch releases. The current patch release is 1.0.4 Safe Markdown Site: generated article and summary Markdown now renders as safe HTML while raw HTML and unsafe link schemes stay escaped. The next larger feature remains draft review flows for approving or rejecting closeout and compile drafts.

Generated wiki/ and wiki-site/ are intentionally not shipped in the npm package. Installed users generate their own copies from their own records.

Development

Build:

npm run build

Run checks:

npm run check

Run tests:

npm test

Verify package contents:

npm run pack:dry-run

Release process:

GitHub Releases trigger npm publishing through Trusted Publishing. See npm Releases for the version/tag checklist.

Run the CLI in development:

npm run dev -- spin --json

Roadmap

Completion estimates are rough planning signals based on the current repo state, not release commitments.

| Planned feature | Completion | Notes | | --- | ---: | --- | | 1.0.4 Safe Markdown Site | 95% | Generated article and summary Markdown render as safe HTML in wiki-site/, with raw HTML escaped and unsafe link schemes blocked. | | Package and release foundation | 96% | README/docs/skill files ship in npm, generated dogfood output and repo brand assets stay out of the tarball, and GitHub Releases drive Trusted Publishing with a manual 2FA fallback. | | Agent setup polish | 88% | wk setup --agent codex and wk install-agent codex preserve the bundled skill behavior; remaining work is broader target support and clearer destination previews. | | Draft review flows | 45% | Closeout and compile draft packets exist; structured approve, reject, and apply flows are the next larger feature after 1.0.4. | | Richer symbol extraction | 20% | Symbol records and pages exist, but important symbols are still captured manually. | | Watch mode | 10% | Batch commands exist for status, spin, and closeout; no file watcher is built yet. | | scratch review command | 10% | Validation and search exist; contradiction, drift, and stale-knowledge review is not a dedicated command yet. | | press render alias | 30% | render, site, and closeout cover the workflow; the friendlier alias is not implemented. | | crate rebuild/index command | 35% | Markdown, static site, and search indexes can be rebuilt; no unified rebuild/retrieval command exists yet. | | ask repo knowledge query | 25% | wk search provides local lookup; answer synthesis over repo knowledge is not built yet. | | GitHub Pages publishing polish | 85% | wk pages init covers workflow scaffolding; authenticated settings and custom-domain automation remain future work. | | Theme customization polish | 95% | wk theme preview and wk theme init create mood-based light/dark themes, discover repo-local logo/wordmark/favicon assets, and wire custom fonts into the generated site. |

Shared completion snapshot:

  • Package and release foundation: about 96%
  • Named future roadmap: about 45%
  • Blended overall product vision: about 77%

License

MIT