New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

superdoc

Package Overview
Dependencies
Maintainers
3
Versions
833
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superdoc

../../README.md

latest
Source
npmnpm
Version
1.24.2
Version published
Maintainers
3
Created
Source

SuperDoc

The document engine for DOCX files.

Documentation License: AGPL v3 npm version Discord

SuperDoc renders and edits DOCX files in the browser. Built on OOXML — not bolted onto HTML. As you type, you write directly to the XML. Import a document, edit it, export it. Nothing lost.

Features

  • Real DOCX, not rich text — Built on OOXML. Real pagination, section breaks, headers/footers, complex tables. Not a contenteditable wrapper with export bolted on.
  • Self-hosted — Runs entirely in the browser. Your documents never leave your servers.
  • Any framework — React, Vue, Angular, Svelte, vanilla JS. One component, zero lock-in.
  • Real-time collaboration — Yjs-based CRDT. Multiplayer editing with comments, tracked changes, and automatic conflict resolution.
  • Built for agentsSDK, CLI, and MCP server let LLMs read, edit, and save .docx files programmatically.
  • Dual licensed — AGPLv3 for community use. Commercial license for proprietary deployments.

Quick start

npm install superdoc
import 'superdoc/style.css';
import { SuperDoc } from 'superdoc';

const superdoc = new SuperDoc({
  selector: '#superdoc',
  documents: [
    {
      id: 'my-doc-id',
      type: 'docx',
      data: fileObject,
    },
  ],
});

For React, Vue, and other frameworks, see the documentation.

Using an AI coding agent?

npx @superdoc-dev/create              # generates AGENTS.md for your framework
claude mcp add superdoc -- npx @superdoc-dev/mcp   # connect agent to DOCX files

Documentation

docs.superdoc.dev — installation, integration guides, collaboration setup, API reference, and more.

Contributing

Check the issue tracker for open issues, or read the Contributing Guide to get started. Bug reports with reproduction .docx files are especially valuable.

Community

  • Discord — Chat with the team and other contributors
  • Email — Reach the team directly

License

Created and maintained by Harbour and the SuperDoc community.

FAQs

Package last updated on 02 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts