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

@vunk/markdown

v1.2.0

Published

![@vunk/markdown logo](./logo.svg)

Readme

@vunk/markdown logo

@vunk/markdown

@vunk/markdown 是一个基于 markdown-exit 的增强型 Markdown 渲染库,专为现代 Vue3 应用设计。它的核心使命是 增强 Markdown 内容在页面中的表现力,通过 自定义渲染策略 将传统的 Markdown 文本转换为丰富的交互式组件。

在线文档

解决什么问题?

在现代应用中,特别是与 AI 大模型交互的场景下,我们经常需要:

  • 渲染大模型的 Markdown 输出:将 ChatGPT、Claude 等大模型生成的 Markdown 内容美观地展示在页面中
  • 增强 Markdown 表现力:超越传统 HTML 渲染,支持自定义组件、交互式元素
  • 实时内容渲染:支持流式渲染,适配打字机效果等动态展示需求
  • 灵活的扩展能力:根据业务需求定制特殊的 Markdown 语法和渲染效果

📦 安装

pnpm install @vunk/markdown -S

🚀 快速上手

pierender

查看更多 在线用例

🌟 为什么选择 @vunk/markdown?

  • 🎯 专为现代应用设计:完美适配 Vue3 生态和组件化开发
  • 🚀 性能优异:基于 Vue 的响应式系统,只重渲染变化的部分
  • 🎨 高度可定制:从样式到逻辑,一切都可以自定义
  • 🔌 易于扩展:插件化架构,轻松添加新功能
  • 💡 面向未来:专为 AI 时代的内容展示需求而设计

目录结构

├── app/                    # 主应用 (Vue3 SPA)
├── docs/                  # 文档站点
├── internal/              # 内部构建工具
│   ├── build-constants/   # - 构建常量
│   ├── build-utils/       # - 构建工具函数
│   └── path/             # - 路径处理工具
├── packages/              # 共享的包, 各应用可直接引用
│   ├── api/              # - API 接口
│   ├── components/       # - UI 组件
│   ├── composables/      # - 组合式函数
│   ├── entry/           # - 入口文件
│   ├── shared/          # - 共享工具/类型
│   ├── stores/          # - 状态管理
│   └── theme/           # - 主题相关
├── scripts/              # 项目脚本
│   ├── app/             # - 应用相关脚本
│   ├── build/           # - 构建脚本
│   ├── create/          # - 创建工具
│   ├── docker/          # - Docker 相关
│   └── docs/            # - 文档工具
└──  typings/            # 全局类型定义

开发说明

  1. 安装依赖
pnpm install
  1. 运行文档站点
pnpm --filter docs dev
# or
pnpm run dev
  1. 运行主应用
pnpm --filter app dev
  1. packages/** 可被打成 npm 包
pnpm build

交流群

交流群