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

openmarkdown

v0.1.4

Published

A polished terminal markdown viewer built with OpenTUI.

Readme

openmarkdown

A polished terminal markdown viewer with search, themes, refresh, and a file picker.

openmarkdown is built with OpenTUI and is designed to make markdown feel good in the terminal instead of looking like a raw text dump.

Features

  • Pretty markdown rendering for headings, paragraphs, lists, quotes, code blocks, and tables
  • Search with live highlighting and next/previous result navigation
  • Theme support, including OpenCode-inspired themes and Tokyo Night
  • File picker for browsing markdown files in the current workspace
  • Refresh support for reloading the current file from disk
  • Theme persistence between launches

Install

openmarkdown is published on npm, but it requires Bun at runtime.

Install Bun:

curl -fsSL https://bun.sh/install | bash

Install openmarkdown globally:

npm install -g openmarkdown

Or run it without a global install:

npx openmarkdown README.md

Usage

Open a markdown file:

openmarkdown README.md

Open the sample file in this repo:

openmarkdown sample-content.md

Pipe markdown in from stdin:

cat README.md | openmarkdown -

If no file is passed, openmarkdown will try to open ./plan.md and fall back to sample content if it does not exist.

Controls

| Key | Action | | --- | --- | | / | Open search | | n | Jump to next search result | | Shift+n | Jump to previous search result | | o | Open file picker | | r | Refresh current file | | t | Open theme picker | | Ctrl+P | Open command palette | | Esc | Close the current dialog | | q | Quit | | Ctrl+C | Quit |

Themes

The viewer includes multiple built-in themes, including:

  • OpenCode Dark
  • OpenCode Light
  • Nord
  • Monokai
  • Tokyo Night

Your selected theme is saved locally and restored on the next launch.

What It Looks Like

openmarkdown is tuned for terminal reading rather than plain text inspection:

  • stronger heading hierarchy
  • styled code blocks with lightweight syntax coloring
  • improved table rendering
  • nested list indentation
  • cleaner quote and list styling

Development

Clone the repo and install dependencies:

npm install

Run the app during development:

bun run src/index.ts sample-content.md

Type-check the project:

npm run check

Publishing

The package is published to npm and launched through a small Node wrapper that executes the app with Bun.

This repo also includes GitHub Actions workflows to:

  • bump the package version on pushes to main
  • publish new versions to npm when a new version is detected

Repository

  • GitHub: https://github.com/Sizlers/OpenMarkdown
  • npm: https://www.npmjs.com/package/openmarkdown

License

MIT