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

zen-doc

v1.0.35

Published

Your codebase documentation, in a matter of minutes

Readme

ZenDoc - Code Documentation in Minutes


✨ Features

  • 🛠 One-command setup: npx zen-doc generate
  • 🧠 AI-generated docs from components, utils, APIs (using Google Gemini)
  • 🌐 Multi-language support with automatic translation via Lingo.dev
  • ⚡ Astro-powered static Markdown documentation with Starlight
  • 🔐 Credit system w/ Stripe + Autumn (useautumn.com)
  • 🧹 Ignores unnecessary folders (e.g., node_modules, dist)
  • 🔄 Re-run anytime with saved config
  • 🔌 Supports all major package managers (npm, yarn, pnpm, bun)

🚀 Quick Start

npx zen-doc init
npx zen-doc generate

✅ A full documentation site will be created in the /docs folder.

🌐 Multi-Language Support

ZenDoc supports automatic translation of your documentation using Lingo.dev. When you run npx zen-doc init, you can enable translation and specify which languages you want to support.

Supported Languages

The documentation will be automatically translated to your chosen languages and organized in the following structure:

docs/
├── content/
│   └── docs/
│       ├── index.mdx    # English (source) - main documentation
│       ├── components/  # English components
│       ├── pages/       # English pages
│       ├── api/         # English API docs
│       ├── lib/         # English utilities
│       ├── es/          # Spanish translations
│       ├── fr/          # French translations
│       ├── de/          # German translations
│       └── ...          # Other language translations

Configuration

During the initialization process, you'll be prompted to:

  1. Enable translation: Choose whether to enable automatic translation
  2. Lingo.dev API Key: Provide your Lingo.dev API key for translation services
  3. Target languages: Specify which languages to translate to (e.g., es,fr,de)

Example configuration (zen.config.mjs):

export default {
  apiKey: "your-google-gemini-api-key",
  projectName: "My Project",
  useTranslation: true,
  lingoApiKey: "your-lingo-dev-api-key",
  languages: ["es", "fr", "de"],
};

Language Support

ZenDoc supports a wide range of languages including:

  • European: Spanish (es), French (fr), German (de), Italian (it), Portuguese (pt), Dutch (nl), Swedish (sv), Danish (da), Norwegian (no), Finnish (fi), Polish (pl), Czech (cs), Hungarian (hu), Romanian (ro), Bulgarian (bg), Croatian (hr), Slovenian (sl), Estonian (et), Latvian (lv), Lithuanian (lt), Maltese (mt), Irish (ga), Welsh (cy)
  • Asian: Japanese (ja), Korean (ko), Chinese (zh), Hindi (hi)
  • Other: Russian (ru), Turkish (tr), Arabic (ar)

📦 Development Setup

git clone https://github.com/leen-neel/zen-doc.git
cd zen-doc
bun install
bun link