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

@freedomware/traven

v0.2.16

Published

Embeddable MIT-licensed WYSIWYM Markdown Editor built on CodeMirror 6

Downloads

985

Readme


Traven is a self-contained, embeddable Markdown editor that renders your content live as you type. It gives you the seamless writing experience of a desktop editor, but in a single script tag or npm package.

The editor is entirely framework-agnostic. It works beautifully whether you are using a plain HTML file, a PHP template, or a complex application. It also respects your independence: Traven doesn't rely on any frameworks, and doesn't require an API key or setting up an account. It is open-source, MIT licensed, and outputs pure Markdown.


Installation

Via CDN (No Build Step)

You can load the script anywhere in your page to get Traven running immediately:

<script type="module" src="https://cdn.jsdelivr.net/npm/@freedomware/traven@latest/dist/traven.js"></script>

Via NPM

npm install @freedomware/traven

Quick Start

1. Using the Web Component (HTML / PHP / Python Templates)

Once the script is loaded, you can drop the custom HTML element into your page and it will act like a standard form input:

<form action="/save" method="POST">
  <traven-editor name="content" toolbar># Hello Traven</traven-editor>
  <button type="submit">Save</button>
</form>

2. Programmatic Instantiation (NPM / Bundlers)

To use Traven inside your bundler environment (Vite, Webpack, etc.):

import { TravenEditor } from '@freedomware/traven';
// Make sure to import the CSS as well
import '@freedomware/traven/dist/traven.css';

const editor = new TravenEditor({
  target: document.getElementById('editor-container'),
  props: {
    value: '# Hello Traven',
    toolbar: true
  }
});

Key Features

  • Dynamic Toolbars: Choose from floating, hybrid, or static toolbar layouts, including formatting bubbles and gutter insert menus.
  • Math & Diagrams: Built-in, lazy-loaded support for rendering LaTeX math equations and Mermaid diagrams.
  • Image Uploads: Optimistic image uploads with drag-and-drop support.
  • Custom Shortcodes: Extend standard Markdown with custom, interactive WYSIWYM widgets.
  • Bidirectional Sync: Support for split-screen layouts where the raw Markdown and the visual editor stay perfectly in sync.
  • Vim Mode: Built-in Vim emulation for power users.

Framework Wrappers

If you are using a frontend framework, you can use the official wrappers:


License

Open-source, licensed under the MIT License.