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

vue-echo-editor

v1.0.0

Published

A modern AI-powered WYSIWYG rich-text editor for Vue, based on Tiptap and shadcn-vue

Readme

Echo Editor

一个快速、无障碍、支持 AI 的 Vue 3 富文本编辑器,基于 Tiptap 3 和 shadcn-vue 构建。

npm MIT License

English | 中文 · 文档 · llms.txt

Echo Editor

特性

  • 40+ 扩展:标题、列表、任务列表、表格、分栏、带语法高亮的代码块、图片、视频、嵌入、查找替换、HTML 源码、打印、全屏……
  • 开箱即用的工具栏、气泡菜单、斜杠菜单和拖拽手柄
  • Markdown:通过官方 @tiptap/markdown 将 Markdown 作为 v-model
  • 导出为 PDF、Markdown、HTML、RTF、纯文本和 JSON
  • 基于 Y.js 的实时协作与远程光标(vue-echo-editor/collaboration)
  • 支持任意模型或后端流式输出的 AI 助手
  • 插件系统:使用 definePlugin() 打包扩展、按钮、斜杠命令和翻译
  • 11 种语言,按需加载,支持 RTL
  • 无障碍:带标签的控件、键盘导航工具栏、屏幕阅读器播报、触屏友好
  • 高性能:Tiptap 与应用共享而非打包、功能界面按需加载、工具栏每帧最多更新一次
  • 样式隔离:样式表仅作用于编辑器,不会影响你的应用

安装

pnpm add vue-echo-editor

使用

<script setup lang="ts">
import { ref } from 'vue'
import { EchoEditor, BaseKit, History, Heading, Bold, Italic, Underline, Link, BulletList, OrderedList, locale } from 'vue-echo-editor'
import 'vue-echo-editor/style.css'

// 默认语言为英文,切换为中文:
locale.setLang('zhHans')

const content = ref('<p>你好,<strong>Echo Editor</strong>!</p>')
const extensions = [BaseKit, History, Heading, Bold, Italic, Underline, Link, BulletList, OrderedList]
</script>

<template>
  <EchoEditor v-model="content" :extensions="extensions" :max-height="480" />
</template>

文档

完整文档见 echo-editor.dev(源码位于 docs/),包括从 0.x 迁移、配置、扩展、协作和 AI。

文档站点同时提供 /llms.txt、/llms-full.txt 以及位于 /mcp 的 MCP 服务器,供 AI 编程助手使用。

开发

pnpm install
pnpm dev          # 基于源码运行示例(热更新)
pnpm test
pnpm build:lib
pnpm docs:dev

许可证

MIT