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

md-present

v0.2.1

Published

CLI that turns Markdown into a presentable standalone HTML page with dark mode and syntax highlighting.

Readme

md-present

npm version CI

Turn a Markdown file into a polished, standalone HTML page — one command, no config. Use it to share plans, documentation, and reports with people who should not need a Markdown viewer.

Raw Markdown converted to a light and dark rendered page

Why md-present?

  • One portable HTML file that is easy to email, upload, or share in Slack; add --inline-images for fully self-contained local images
  • Automatic light and dark mode based on the reader's system preference
  • Syntax highlighting, task lists, styled tables, and optional embedded local images
  • A local preview server when you need to review a document in the browser

Quick start

npx md-present README.md

This writes README.html beside the Markdown file. Add --open to open it in your browser:

npx md-present README.md --open

Create a custom output file:

npx md-present README.md --out docs/index.html

Embed local images as base64 data URIs (for fully self-contained HTML):

npx md-present README.md --inline-images

Preview with a local dev server (re-renders on each refresh):

npx md-present README.md --serve

Use a custom port and auto-open the browser:

npx md-present README.md --serve --port 8080 --open

Features

  • Presentable responsive HTML with automatic light and dark themes
  • Standalone output with CSS and syntax-highlighting themes inlined
  • Markdown tables, task lists, fenced code blocks, and clickable links
  • --inline-images for portable output that includes local images
  • --serve for a local browser preview that re-renders on refresh

CLI reference

| Flag | Description | | --- | --- | | -o, --out <file> | Custom output path (creates directories automatically) | | --open | Open the result in your default browser | | --inline-images | Embed local images as base64 data URIs | | --serve | Start a local server instead of writing a file | | -p, --port <number> | Port for the local server (default: 3000) |

Local development

pnpm install
pnpm test
pnpm md-present examples/sample.md

Demo

This README rendered by md-present: https://salauddinn.github.io/md-present/

Use cases

  • Share a Markdown plan or proposal with non-technical teammates
  • Turn project documentation into a single file for email or a static host
  • Create a clean HTML preview before publishing Markdown content

Future direction

The renderer is separate from the CLI so it can later be reused by a VS Code extension.