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

vuemarkik

v1.2.1

Published

Markdown rendering for Vue.js - extensible and customizable, powered by unified, remark, and rehype

Readme

npm version License: MIT

Features

Safe Rendering - No v-html or dangerouslySetInnerHTML, all content is rendered through Vue components
🎨 Custom Components - Replace any markdown element with your own Vue components
🔌 Plugin Support - Full support for remark and rehype plugins
📝 GFM & More - GitHub Flavored Markdown, math (KaTeX), diagrams (Mermaid), and syntax highlighting
Async Support - Built-in async components for Suspense and reactive updates
🧠 Streaming-Friendly - Preserve the last successful render during invalid intermediate LLM or streamed markdown updates
🎯 TypeScript - Fully typed with comprehensive type definitions

Quick Start

Installation

npm install vuemarkik
# or
pnpm add vuemarkik
# or
yarn add vuemarkik

Basic Usage

<script setup>
import { Markdown } from 'vuemarkik';
</script>

<template>
  <Markdown text="# Hello World" />
</template>

Async Rendering

Use MarkdownAsync when your markdown pipeline depends on async remark/rehype plugins and you already use Vue Suspense:

<script setup>
import { MarkdownAsync } from 'vuemarkik';
</script>

<template>
  <Suspense>
    <MarkdownAsync :text="markdown" :rehype-plugins="rehypePlugins" />
  </Suspense>
</template>

Use MarkdownHooks when the markdown changes reactively over time, especially for streamed or incrementally generated content:

<script setup>
import { MarkdownHooks } from 'vuemarkik';
</script>

<template>
  <MarkdownHooks
    :text="llmOutput"
    error-mode="silent"
    @render-error="reportMarkdownIssue"
  />
</template>

Custom Rendering

You can replace markdown tags with your own Vue components:

<script setup>
import { Markdown } from 'vuemarkik';
import CustomHeading from './CustomHeading.vue';
</script>

<template>
  <Markdown :text="markdown" :components="{ h1: CustomHeading }" />
</template>

Error Handling

All rendering components support the errorMode prop:

  • 'silent' keeps the last successful render and emits render-error
  • 'warn' keeps the last successful render, emits render-error, and logs a warning
  • 'throw' rethrows render failures

This is especially useful for streamed markdown where intermediate output may be temporarily invalid.

Components

VueMarkik exports four rendering helpers:

  • Markdown for synchronous rendering
  • MarkdownAsync for async rendering inside Vue <Suspense>
  • MarkdownHooks for reactive async rendering without Suspense
  • MarkdownChildNodes for rendering nested markdown inside custom slots or components

Documentation

📚 Full Documentation

Getting Started

Features & Examples

Advanced Usage

Development

For contribution guidelines, please see CONTRIBUTING.md

Install dependencies

pnpm install

Run the playground

pnpm playground

Run tests

pnpm test

Build the library

pnpm build

License

MIT © 2025-present Tom Auger