@harbour-enterprises/superdoc
TypeScript icon, indicating that this package has built-in type declarations

0.10.20 • Public • Published

🦋️📝️ SuperDoc

The modern collaborative document editor for the web

Documentation License: AGPL v3 npm version Discord

SuperDoc is a powerful document editor that brings Microsoft Word-level capabilities to your web applications. With real-time collaboration, extensive formatting options, and seamless integration capabilities, SuperDoc makes document editing on the web better for everyone.

✨ Features

  • Document Compatibility: View and edit DOCX and PDF documents directly in the browser
  • Microsoft Word Integration: Full support for importing/exporting, advanced formatting, comments, and tracked changes
  • Real-time Collaboration: Built-in multiplayer editing, live updates, commenting, sharing, and revision history
  • Framework Agnostic: Seamlessly integrates with Vue, React, or vanilla JavaScript
  • Extensible Architecture: Modular design makes it easy to extend and customize
  • Dual License: Available under AGPLv3 for community use and Commercial license for enterprise deployments

🚀 Quick Start

Installation

npm install @harbour-enterprises/superdoc

Basic Usage

import '@harbour-enterprises/superdoc/style.css';
import { SuperDoc } from '@harbour-enterprises/superdoc';

const superdoc = new SuperDoc({
  selector: '#superdoc',
  documents: [{
    id: 'my-doc-id',
    type: 'docx',
    data: fileObject  // Optional: JS File object if not using collaboration
  }]
});

🛠️ Development Setup

  1. Clone the Repository
git clone https://github.com/your-username/SuperDoc.git
cd SuperDoc
  1. Choose Your Package

SuperDoc consists of two main packages:

  • /packages/superdoc: Main package (recommended)

    cd packages/superdoc
    npm install && npm run dev
  • /packages/super-editor: Core editor component

    cd packages/super-editor
    npm install && npm run dev

📖 Documentation

For comprehensive documentation, visit our SuperDocumentation site. Key topics include:

  • Complete API reference
  • Integration guides
  • Collaboration setup
  • Advanced customization
  • Best practices

🤝 Contributing

We love contributions! Here's how you can help:

  1. Check our issue tracker for open issues
  2. Fork the repository and create a feature/bugfix branch
  3. Write clear, documented code following our style guidelines
  4. Submit a PR with detailed description of your changes

See our Contributing Guide for more details.

💬 Community

📄 License

📱 Contact


Created and actively maintained by Harbour and the SuperDoc community.

Readme

Keywords

none

Package Sidebar

Install

npm i @harbour-enterprises/superdoc

Weekly Downloads

2,338

Version

0.10.20

License

AGPL-3.0

Unpacked Size

20.4 MB

Total Files

787

Last publish

Collaborators

  • edoversb
  • harbournick
  • caio-pizzol