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

purrmd

v0.1.4

Published

purrmd

Readme

PurrMD

A lightweight, modern Markdown editor plugin that provides a smooth editing experience similar to Obsidian.

PurrMD is a WYSIWYG Markdown editing plugin for CodeMirror6. This project focuses on the Markdown editing plugin component rather than being a complete editor.

NPM version Build Status

Live Demo | Documentation

中文文档

🚀 Quick Start

Installation

# npm
npm install --save purrmd codemirror @codemirror/view
# pnpm
pnpm add purrmd codemirror @codemirror/view
# yarn
yarn add purrmd codemirror @codemirror/view

Basic Usage

import { EditorView } from '@codemirror/view';
import { basicSetup } from 'codemirror';
import { purrmd, purrmdTheme } from 'purrmd';

const view = new EditorView({
  doc: '# Hello PurrMD',
  parent: document.getElementById('root')!,
  extensions: [
    basicSetup,
    purrmd(),
    purrmdTheme(),
  ],
});

✨ Core Features

  • WYSIWYG Editing - Instant preview of Markdown rendering
  • GFM Compatible - Supports GitHub Flavored Markdown
  • Shortcut Support - Hotkeys to improve editing efficiency
  • Slash Menu - Quickly insert Markdown syntax elements

📋 Supported Features

✨ Basic Features

| Feature | Syntax Example | |------|----------| | Headings | # H1 ~ ###### H6 | | Bold | **bold** | | Italic | *italic* | | Strikethrough | ~~strikethrough~~ | | Highlight | ==highlight== | | Inline Code | `code` | | Link | [text](url) | | Image | ![alt](src) | | Bullet List | - Bullet List | | Ordered List | 1. Ordered List | | Bullet Task List | - [ ] Bullet Task List | | Ordered Task List | 1. [ ] Ordered Task List | | Blockquote | > Blockquote | | Horizontal Rule | --- | | Code Block | ```javascript console.log("Hello PurrMD"); ``` |

⌨️ Shortcuts

PurrMD provides the following shortcuts to improve editing efficiency:

Ctrl+B - Bold

Ctrl+I - Italic

Ctrl+D - Strikethrough

Ctrl+H - Highlight

🔧 Slash Menu

Typing the / character in the editor triggers a slash menu, allowing quick insertion of various Markdown syntax elements

🙏 Acknowledgments

Special thanks to these excellent projects for inspiration:

  • HyperMD - Pioneering WYSIWYG Markdown editing experience
  • ProseMark - Reference implementation for CodeMirror6 Markdown
  • CodeMirror6 - Powerful editor core

Without the above projects, PurrMD would not exist.

❓ FAQ

Q:Since CodeMirror6 already has ProseMark, why does this project exist?

A:The initial purpose of this editor was to provide Markdown editing support for my personal note-taking app LonaNote. Implementing it myself makes it easier to extend and customize editor features.

Q:Does it support Vue/React?

A:The CodeMirror editor is framework-agnostic and can be easily integrated with any frontend framework.

📝 License

MIT license