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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@eventuras/scribo

v0.8.1

Published

Markdown editor built on [Lexical framework](https://lexical.dev/). Intended to be used as part of eventuras, but also packed as a standalone component. Scribo is a WYSIWYG editor with markdown export.

Downloads

219

Readme

Scribo markdown editor

Markdown editor built on Lexical framework. Intended to be used as part of eventuras, but also packed as a standalone component. Scribo is a WYSIWYG editor with markdown export.

The editor should provide simple and intuitive editing of markdown text, with a focus on the most common use cases.

Test the scribo editor online demo.

Lexical version: we are keeping the lexical version in sync with the lexical version used in Payload CMS, to prevent multiple versions making trouble.

Installation

pnpm add @eventuras/scribo

Usage

Important: You must import the CSS file for Scribo to display correctly:

MarkdownEditor (WYSIWYG Editor)

import "@eventuras/scribo/style.css";
import { MarkdownEditor } from "@eventuras/scribo";

function MyComponent() {
  return <MarkdownEditor defaultValue="# Hello World" />;
}

MarkdownInput (Form-ready Input)

For use with native HTML forms (FormData API):

import "@eventuras/scribo/style.css";
import { MarkdownInput } from "@eventuras/scribo";

function MyForm() {
  return (
    <form>
      <MarkdownInput
        name="description"
        label="Description"
        placeholder="Enter markdown..."
        defaultValue="# Hello"
        maxLength={500}
        className="mb-4"
        labelClassName="font-bold"
        editorClassName="border rounded"
        errorClassName="text-red-500"
      />
      <button type="submit">Submit</button>
    </form>
  );
}

The MarkdownInput component is framework-agnostic and provides:

  • Hidden input for FormData submission
  • Optional label and validation
  • Flexible styling via className props
  • Character limit validation

Peer Dependencies

Scribo requires the following peer dependencies:

pnpm add react react-dom lexical @lexical/code @lexical/hashtag @lexical/link @lexical/list @lexical/mark @lexical/markdown @lexical/overflow @lexical/react @lexical/rich-text @lexical/selection @lexical/table @lexical/utils prismjs

Prism.js for syntax highlighting:
Scribo uses Prism.js for code syntax highlighting but does not bundle it. You need to install prismjs and import the language grammars you need in your application.

Example:

import "prismjs";
import "prismjs/components/prism-javascript";
import "prismjs/components/prism-typescript";
import "prismjs/components/prism-css";
// Import other languages as needed

Develop

To start developing Scribo, run the following commands:

pnpm install
vite dev

Release

Quick release process:

# 1. Create changeset (choose one)
pnpm changeset                 # Manual (recommended)
pnpm changeset:suggest         # Auto-generate from commits

# 2. Version package
pnpm changeset:version

# 3. Commit and push (create PR to main)
git checkout -b release/scribo-v0.x.x
git add .
git commit -m "chore(scribo): release v0.x.x"
git push origin release/scribo-v0.x.x

# 4. Merge PR to main, then automated workflow will publish to npm and create GitHub release

For detailed release instructions, including setup and troubleshooting, see RELEASE.md.

Credits

Scribo is built on the Lexical framework, and most of the code in the repo is done by Meta under MIT license.

Learn More