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

@torchcrop/text-editor-studio

v1.1.2

Published

CLI for adding Text Editor Studio components to your project

Downloads

11

Readme

Text Editor Studio CLI\n\nA CLI tool for adding Text Editor Studio components to your React projects.\n\n## Installation\n\nbash\nnpx text-editor-studio@latest init\n\n\n## Usage\n\n### Initialize your project\n\nbash\nnpx text-editor-studio@latest init\n\n\nThis will:\n- Create a components.json configuration file\n- Set up the necessary directory structure\n- Install required dependencies\n\n### Add components\n\nbash\n# Add the complete editor\nnpx text-editor-studio@latest add editor-x\n\n# Add a basic editor\nnpx text-editor-studio@latest add basic-editor\n\n# Add specific nodes/plugins\nnpx text-editor-studio@latest add image-node\nnpx text-editor-studio@latest add toolbar\n\n\n### List available components\n\nbash\nnpx text-editor-studio@latest list\n\n\n## Configuration\n\nThe components.json file allows you to customize:\n\njson\n{\n \"$schema\": \"https://text-editor-studio.vercel.app/schema.json\",\n \"components\": \"./src/components\",\n \"utils\": \"./src/lib/utils\",\n \"ui\": \"./src/components/ui\",\n \"css\": \"./src/index.css\",\n \"tailwind\": {\n \"config\": \"./tailwind.config.js\",\n \"css\": \"./src/index.css\",\n \"baseColor\": \"slate\",\n \"cssVariables\": true\n },\n \"aliases\": {\n \"components\": \"@/components\",\n \"utils\": \"@/lib/utils\"\n }\n}\n\n\n## Available Components\n\n### Editor Blocks\n- editor-x - Complete text editor with all features\n- basic-editor - Minimal text editor with essential features\n\n### Editor Nodes\n- image-node - Image support with resizing and captions\n- equation-node - LaTeX equation support\n- poll-node - Interactive polls\n- mention-node - @ mentions with autocomplete\n\n### Plugins\n- toolbar - Floating formatting toolbar\n- table-plugin - Rich table support\n- emoji-picker - Emoji picker plugin\n- mentions-plugin - @ mentions functionality\n\n## Requirements\n\n- React 18+\n- TypeScript (recommended)\n- Tailwind CSS\n- Node.js 18+\n\n## Example Usage\n\nAfter adding components, you can use them in your React app:\n\ntsx\nimport { Editor } from '@/components/editor-x/editor';\n\nfunction App() {\n return (\n <div className=\"h-screen\">\n <Editor \n placeholder=\"Start writing...\"\n onChange={(editorState) => {\n console.log('Editor state changed:', editorState);\n }}\n />\n </div>\n );\n}\n\n\n## Contributing\n\nTo add new components to the registry, create a JSON file in the registry/ directory with the component definition.\n\n## License\n\nMIT"