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

@tipkit/extensions

v0.3.5

Published

TipKit 扩展集:全部 Tiptap 扩展(纯逻辑 + 语义类名,带少量可覆盖默认样式)

Downloads

38

Readme

@tipkit/extensions

TipKit 全部 Tiptap 扩展:基础编辑能力 + 高级内容节点。只携带 tk-* 语义类名,视觉由主题层负责。

安装

pnpm add @tipkit/extensions

快速使用

import {
  createBasicExtensions,
  createAdvancedExtensions,
  getInsertActions,
} from "@tipkit/extensions";

扩展集合

基础扩展 createBasicExtensions()

段落、标题、加粗、斜体、删除线、行内代码、下划线、高亮、文字颜色/字体/字号、对齐、列表、任务列表、表格、链接(Markdown 输入规则 + 自动链接)、分隔线(可交互包裹)、Markdown 粘贴/序列化,以及链接 / 行内代码的 IME 兜底转换(LinkBackfillConvert / CodeBackfillConvert)。

高级扩展 createAdvancedExtensions()

斜杠菜单、图片块(可缩放对齐)、代码块高亮、KaTeX 公式、Callout 提示框、分栏、折叠块、页面目录、Iframe、附件。

独立导出

| 导出 | 说明 | | --- | --- | | getInsertActions | 斜杠菜单 / 插入面板的动作数据 | | CustomHorizontalRule | 可交互分隔线(块手柄 / 块菜单可命中) | | LinkBackfillConvert | [文字](url) IME 兜底转链接 | | CodeBackfillConvert | `code` 兜底转行内代码 | | ImageBlock / Katex / Callout / Columns / Details / Iframe / Attachment 等 | 单个扩展按需引入 |

设计约束

  • 扩展自包含(内部相对导入),可整体裁剪
  • 只加语义类名 tk-*,禁止项目特定类名
  • 项目特定能力(上传 / KaTeX 渲染)通过 useEditorDeps() 注入