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

texditor

v2.2.3

Published

Texditor is a modern visual block editor that allows you to export data in JSON format

Readme

Texditor — minimalistic visual block editor

A powerful and flexible block editor that allows you to create web applications with a clean and elegant data architecture, presented in JSON format


npm version License: MIT

Website

Website / Guide / API /

Русская версия

Сайт / Руководство / API /

Quick Start

Installation

npm install texditor

Basic Setup

Include the styles and initialize the editor:

import 'texditor/styles/theme.css'; // Theme variables
import Texditor from 'texditor';

const editor = new Texditor({
  handle: 'texditor', // Target element ID
});
<div id="texditor"></div>

On our official website, you will find more detailed information about configuring the editor.


JSON Output Example

All content is exported as structured JSON, where special characters and nested elements are properly formatted:

[
    {
        "type" : "h2",
        "data" : [
            "Life: A Journey, Not a Destination"
        ]
    },
    {
        "type" : "p",
        "data" : [
            {
                "type" : "b",
                "data" : [
                    "Life "
                ]
            },
            "is not a straight ",
            {
                "type" : "a",
                "data" : [
                    "road"
                ],
                "attr" : {
                    "href" : "https://agenoria.ru/"
                }
            },
            " marked on a map. It is more of a winding path, full of unexpected turns, steep climbs and breathtaking views from the summits. We ",
            {
                "type" : "i",
                "data" : [
                    "make mistakes"
                ]
            },
            ", fall, and it is these scars and bruises that become our most honest biography. ",
            {
                "type" : "mark",
                "data" : [
                    "The value"
                ]
            },
            " lies not in perfectly avoiding falls, but in the courage to get up each time, becoming a little wiser and stronger. It is in the small things – in the morning coffee, in the laughter of an old friend, in the warmth of a sunbeam on your face – that its true ",
            {
                "type" : "code",
                "data" : [
                    "magic"
                ]
            },
            " lies."
        ]
    },
    {
        "type" : "image",
        "data" : [
            {
                "url" : "/images/cat.jpg",
                "type" : "image/jpeg",
                "caption" : "Image Title",
                "desc" : "Basic description of the image"
            },
            {
                "url" : "/images/rose.jpg",
                "type" : "image/jpeg"
            },
            {
                "url" : "/images/girl.jpg",
                "type" : "image/jpeg"
            },
            {
                "url" : "/images/dog.jpg",
                "type" : "image/jpeg"
            }
        ],
        "style" : "grid"
    },
    {
        "type" : "h3",
        "data" : [
            "To-do list"
        ]
    },
    {
        "type" : "ul",
        "data" : [
            {
                "type" : "li",
                "data" : [
                    "Write a report"
                ]
            },
            {
                "type" : "li",
                "data" : [
                    "Reply to emails"
                ]
            },
            {
                "type" : "li",
                "data" : [
                    "Call the client"
                ]
            }
        ]
    },
    {
        "type" : "image",
        "data" : [
            {
                "url" : "/images/balloons.jpg",
                "type" : "image/jpeg"
            },
            {
                "url" : "/images/sunrise.jpg",
                "type" : "image/jpeg",
                "caption" : "Image Title"
            }
        ],
        "style" : "slider"
    },
    {
        "type" : "h2",
        "data" : [
            "Video"
        ]
    },
    {
        "type" : "p",
        "data" : [
            "Adding a kitten video"
        ]
    },
    {
        "type" : "video",
        "data" : [
            {
                "url" : "/video/cat.mp4",
                "type" : "video/mp4",
                "caption" : "Hello Kitty",
                "desc" : "This is a beautiful kitten."
            }
        ]
    },
    {
        "type" : "h2",
        "data" : [
            "Files"
        ]
    },
    {
        "type" : "p",
        "data" : [
            "Let's add a few files to make everything look harmonious."
        ]
    },
    {
        "type" : "file",
        "data" : [
            {
                "url" : "/images/cat.jpg",
                "type" : "image/png",
                "caption" : "Hello Kitty",
                "desc" : "It's a beautiful kitten.",
                "name" : "cat.jpg",
                "size" : 54993
            },
            {
                "url" : "/files/My-Document.docx",
                "type" : "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                "name" : "Мy-Document.docx",
                "size" : 12993
            }
        ]
    },
    {
        "type" : "h2",
        "data" : [
            "Images in a row"
        ]
    },
    {
        "type" : "p",
        "data" : [
            "This layout style allows you to display images in their natural size, as well as move them to another row."
        ]
    },
    {
        "type" : "image",
        "data" : [
            {
                "url" : "/images/telegram.png",
                "type" : "image/png"
            },
            {
                "url" : "/images/inst.png",
                "type" : "image/png"
            },
            {
                "url" : "/images/youtube.png",
                "type" : "image/png"
            },
            {
                "url" : "/images/check.png",
                "type" : "image/png"
            },
            {
                "url" : "/images/dinosaur.png",
                "type" : "image/png"
            }
        ],
        "style" : "row"
    },
    {
        "type" : "h2",
        "data" : [
            "Table"
        ]
    },
    {
        "type" : "p",
        "data" : [
            "This customizable table, thanks to the ",
            {
                "type" : "code",
                "data" : [
                    "maxBreaks: 2"
                ]
            },
            " parameter, allows you to wrap text onto the next line. To use this feature, you need to press and hold the ",
            {
                "type" : "mark",
                "data" : [
                    "Shift and Enter"
                ]
            },
            " keys."
        ]
    },
    {
        "type" : "table",
        "data" : [
            {
                "type" : "tr",
                "data" : [
                    {
                        "type" : "th",
                        "data" : [
                            "Situation"
                        ]
                    },
                    {
                        "type" : "th",
                        "data" : [
                            "What the owner sees"
                        ]
                    },
                    {
                        "type" : "th",
                        "data" : [
                            "What the cat is actually thinking"
                        ]
                    }
                ]
            },
            {
                "type" : "tr",
                "data" : [
                    {
                        "type" : "td",
                        "data" : [
                            "Morning"
                        ]
                    },
                    {
                        "type" : "td",
                        "data" : [
                            {
                                "type" : "mark",
                                "data" : [
                                    "The cat"
                                ]
                            },
                            " is sitting on your chest, staring into your eyes"
                        ]
                    },
                    {
                        "type" : "td",
                        "data" : [
                            "\"Pulse check. Alive? So the empty bowl isn't just a coincidence.\""
                        ]
                    }
                ]
            },
            {
                "type" : "tr",
                "data" : [
                    {
                        "type" : "td",
                        "data" : [
                            "Night"
                        ]
                    },
                    {
                        "type" : "td",
                        "data" : [
                            {
                                "type" : "mark",
                                "data" : [
                                    "The cat"
                                ]
                            },
                            " is racing around the apartment"
                        ]
                    },
                    {
                        "type" : "td",
                        "data" : [
                            "\"Hour of hunting invisible demons. ",
                            {
                                "type" : "br"
                            },
                            {
                                "type" : "br"
                            },
                            {
                                "type" : "b",
                                "data" : [
                                    "The owner"
                                ]
                            },
                            " must be thrilled.\""
                        ]
                    }
                ]
            },
            {
                "type" : "tr",
                "data" : [
                    {
                        "type" : "td",
                        "data" : [
                            "Work"
                        ]
                    },
                    {
                        "type" : "td",
                        "data" : [
                            {
                                "type" : "mark",
                                "data" : [
                                    "The cat"
                                ]
                            },
                            " lay down on the laptop"
                        ]
                    },
                    {
                        "type" : "td",
                        "data" : [
                            "\"Warm. ",
                            {
                                "type" : "i",
                                "data" : [
                                    "Perfect"
                                ]
                            },
                            ". And those boring numbers won't keep me from sleeping anymore.\""
                        ]
                    }
                ]
            }
        ]
    }
]

License

MIT