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

@truyman/md

v0.2.1

Published

Preview Markdown in your browser with live reload and Mermaid support.

Readme

md is a small CLI for previewing Markdown locally. Point it at a file, save as you work, and the browser stays in sync.

Install

npm install -g @truyman/md

For local development and releases, this repo follows the Bun CLI template conventions while still publishing a standard npm package.

Features

  • Live preview that reloads as you save your Markdown.
  • GitHub Flavored Markdown support for tables, task lists, and strikethrough.
  • Emoji shortcodes expand outside code blocks.
  • GitHub-style callouts, tables, details, and themed code blocks with copy buttons.
  • Mermaid diagrams render inline, include copy buttons, and adapt to the active theme.
  • Built-in preview server with automatic light/dark theming.
  • Repo-aware routing for relative Markdown links and assets, similar to GitHub's Markdown preview.
  • Defaults to README.md when no file path is provided.

Usage

Preview README.md in the current directory:

md

Preview a specific file:

md OVERVIEW.md

When you run md, it will:

  1. Start a local preview server on an available port.
  2. Open your browser automatically.
  3. Serve your Git repo root from the local preview URL when possible.
  4. Re-render the active preview file whenever it changes.

Relative links resolve like they do on GitHub. If you run md from docs/README.md, the browser opens /docs/README.md; links to other Markdown files render in the preview, and links or HTML references to images and other assets are served directly from the repo.

Development

Install dependencies with Bun:

bun install

Common scripts:

  • bun run format formats the repo with oxfmt and applies oxlint --fix.
  • bun run lint checks formatting and lint rules without rewriting files.
  • bun run typecheck runs TypeScript in Bun-oriented no-emit mode.
  • bun test runs the Bun test suite.
  • bun run build bundles the CLI to dist/.
  • bun run verify runs lint, typecheck, tests, and build.
  • bun run release runs the release-it workflow and keeps CHANGELOG.md updated.

License

MIT