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

@akincand/react-editor

v1.0.7

Published

A powerful, extensible, and beautiful rich text editor for React with TypeScript support

Readme

React Editor

A powerful, extensible, and beautiful rich text editor for React with TypeScript support.

npm version License: MIT

✨ Features

  • 🎨 Beautiful UI - Modern, clean interface with light and dark themes
  • 🔌 Extensible Plugin System - Easy to create and integrate custom plugins
  • 📱 Fully Responsive - Works seamlessly on all screen sizes
  • 🎯 TypeScript Support - Full type definitions included
  • ⚛️ React 18+ Compatible - Built for modern React applications
  • 🌙 Dark Mode - Built-in theme switching support
  • 💅 Pure CSS - No external CSS framework required (33% smaller bundle)
  • 🔗 Link Insertion - Beautiful modal interface for adding links
  • 🎥 Video Embedding - Easy YouTube & Vimeo video embedding
  • 👁️ View Source - Toggle between visual and HTML source code modes
  • 🐛 Debug Console - Advanced debugging tools for development
  • Next.js Ready - Perfect integration with Next.js
  • 📦 Lightweight - Minimal dependencies, optimized bundle size

📦 Installation

npm install @akincand/react-editor

🚀 Quick Start

import { Editor, defaultPlugins } from '@akincand/react-editor';

function App() {
  return (
    <Editor
      plugins={defaultPlugins}
      placeholder="Start typing..."
      onChange={(content) => console.log(content)}
    />
  );
}

📚 Documentation

For complete documentation, examples, and guides, visit:

👉 https://kuardscreative.gitbook.io/react-editor

Quick Links

🎯 Core Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | plugins | EditorPlugin[] | [] | Array of plugins to enable | | placeholder | string | "Start typing..." | Placeholder text | | theme | { mode: 'light' \| 'dark' } | { mode: 'light' } | Editor theme | | showSourceButton | boolean | false | Show HTML source toggle | | debugConsole | boolean | false | Enable debug logging | | onChange | (content: string) => void | - | Content change handler | | onReady | (editor: EditorInstance) => void | - | Editor ready callback |

See full API documentation →

🔌 Built-in Plugins

import { 
  basicFormattingPlugin,  // Bold, Italic, Underline, Strikethrough
  headingsPlugin,         // H1, H2, H3, Paragraph
  listsPlugin,           // Bullet and numbered lists
  alignmentPlugin,       // Text alignment
  linksPlugin,           // Links with modal interface
  videoPlugin,           // YouTube & Vimeo video embedding
  defaultPlugins         // All plugins combined
} from '@akincand/react-editor';

Features by Plugin

  • Basic Formatting: Bold, Italic, Underline, Strikethrough
  • Headings: H1, H2, H3, Paragraph
  • Lists: Bullet List, Numbered List
  • Alignment: Left, Center, Right, Justify
  • Links: Modal-based link insertion with custom text
  • Videos: Responsive video embedding (YouTube & Vimeo)

Learn more about plugins →

🎨 Theming

<Editor
  theme={{ mode: 'dark' }}
  plugins={defaultPlugins}
/>

Theming guide →

🔍 View Source

<Editor
  plugins={defaultPlugins}
  showSourceButton={true}  // Enable HTML source viewer
/>

🐛 Debug Mode

<Editor
  plugins={defaultPlugins}
  debugConsole={true}  // Enable debug logging
/>

Debugging guide →

💡 Examples

Next.js Integration

'use client';

import { Editor, defaultPlugins } from '@akincand/react-editor';

export default function EditorPage() {
  return (
    <Editor
      plugins={defaultPlugins}
      theme={{ mode: 'dark' }}
    />
  );
}

Custom Plugin

import { EditorPlugin } from '@akincand/react-editor';

const myPlugin: EditorPlugin = {
  name: 'myPlugin',
  version: '1.0.0',
  onLoad: (context) => {
    console.log('Plugin loaded!');
  }
};

<Editor plugins={[...defaultPlugins, myPlugin]} />

More examples →

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details.

📄 License

MIT © AkincanD

🔗 Links

🌟 Support

If you find this project helpful, please give it a ⭐️ on GitHub!


Made with ❤️ by AkincanD