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

elastic-editor

v0.4.1

Published

Easy-to-reuse content editor for any React project. Allowing your users to create rich content is a hard problem and ElasticEditor solves it for you. ElasticEditor allows you to easily add user generated rich content to your product. ElasticEditor generat

Readme

ElasticEditor

Easy-to-reuse content editor for any React project. Allowing your users to create rich content is a hard problem and ElasticEditor solves it for you. ElasticEditor allows you to easily add user generated rich content to your product. ElasticEditor generates semantic, accessible, easily styled HTML for you.

Features

Allows users to create rich content with the following elements:

Text Elements

  • Paragraphs
  • Block Quotes
  • Headings
  • Lists (Bulleted and Ordered)

Text Formatting

Allows users to format text in the following ways:

  • Styling (Bold, Italics, Underline and Strikethrough)
  • Alignment (Left, Center, Right and Justify)
  • Color

Undo/Redo

Allows users to easily edit their work without worry by undoing/redoing recent changes.

Themes (Light & Dark)

Allows users to theme their rich content in both Light and Dark Themes. This can be controlled or automatic.

Toolbar Modes

Style the toolbar as hovering above the content, positioned the top/bottom of the editor, or turned of entirely.

Export to Text & Markdown

Serializers, such asexportToPlaintext and exportToMarkdown, offer users a way to reuse their content by converting it into popular forms.

Component API

ElasticEditor

readOnly

  • Renders the editor in read only (or edit) mode.
  • Values: true or false

onChange

  • Function that's called whenever there is a change in the editor's content.

toolbarMode

  • Configures the location and style of the editor's toolbar.
  • Values: "hover", "top", "bottom", "none"

theme (optional):

  • Renders editor and content in whatever Theme the user configures.
  • Values: See "Theme" type definition

themeType (optional):

  • Manually controls which theme (light or dark) is shown in the editor
  • Values: See "ThemeTypes" definition

content (optional):

  • Rich content to be rendered by Editor. When not passed, an empty document is created.

Serializer API

exportToPlaintext

Converts a list of ElasticElement nodes from ElasticEditor into Plaintext.

function exportToPlaintext(nodes: ElasticElement[]): string {}

exportToMarkdown

Converts a list of ElasticElement nodes from ElasticEditor into Markdown.

function exportToMarkdown(nodes: ElasticElement[]): string {}