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

@trama-chain/tiptap

v0.1.2

Published

Tiptap NodeView for Trama — embed an interactive node-graph model editor inside your document.

Downloads

246

Readme

@trama-chain/tiptap

Trama 편집기를 Tiptap NodeView 로 호스트 에디터에 꽂는 단일 ESM 번들.

projector-web (편집기) + core (모델/실행) + layout + tokens 가 모두 인라인되어 있어 호스트는 이 한 패키지만 의존하면 된다.

설치

pnpm add @trama-chain/tiptap

peer 의존

호스트 앱이 다음 패키지의 단일 인스턴스를 제공해야 한다:

  • @tiptap/core ^3.22.5
  • @tiptap/pm ^3.22.5
  • react ^19.0.0
  • react-dom ^19.0.0
  • fizzex ^0.1.0

사용

import { Editor } from '@tiptap/core'
import StarterKit from '@tiptap/starter-kit'
import {
  TramaExtension,
  createTramaNodeView,
  mountTramaEditor,
} from '@trama-chain/tiptap'

const editor = new Editor({
  extensions: [
    StarterKit,
    TramaExtension.extend({
      addNodeView: () => createTramaNodeView({ mount: mountTramaEditor }),
    }),
  ],
})

import 시점에 번들의 CSS (trama-* prefix 스코프) 가 <style> 태그로 1회 주입된다.

API

  • TramaExtension — Tiptap Extension
  • createTramaNodeView(opts) — NodeView 팩토리
  • mountTramaEditor(el, opts): TramaMountHandle — DOM 마운트 어댑터
  • bootstrapTrama() — 초기화 헬퍼
  • TRAMA_NODE_NAME — 노드 이름 상수
  • 마크다운: TRAMA_FENCE_LANG, TRAMA_FENCE_RE, renderTramaFenceHTML, tramaNodeToMarkdown

라이선스

MIT