
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@eigenpal/docx-js-editor
Advanced tools
A browser-based DOCX template editor with variable insertion support
Open-source WYSIWYG .docx editor for React with canonical OOXML, tracked changes, and real-time collaboration. Agent-ready. Live demo | Documentation
npm install @eigenpal/docx-js-editor
import { useRef } from 'react';
import { DocxEditor, type DocxEditorRef } from '@eigenpal/docx-js-editor';
import '@eigenpal/docx-js-editor/styles.css';
function Editor({ file }: { file: ArrayBuffer }) {
const editorRef = useRef<DocxEditorRef>(null);
return <DocxEditor ref={editorRef} documentBuffer={file} mode="editing" onChange={() => {}} />;
}
Next.js / SSR: Use dynamic import — the editor requires the DOM.
| Package | Description |
|---|---|
@eigenpal/docx-js-editor | React UI — toolbar, paged editor, plugins. Install this. |
@eigenpal/docx-editor-vue | Vue.js scaffold — contributions welcome |
import { DocxEditor, PluginHost, templatePlugin } from '@eigenpal/docx-js-editor';
<PluginHost plugins={[templatePlugin]}>
<DocxEditor documentBuffer={file} />
</PluginHost>;
See the plugin documentation for the full plugin API.
bun install
bun run dev # localhost:5173
bun run build
bun run typecheck
A live preview of main is auto-deployed at latest.docx-editor.dev — useful for trying out changes before they ship to npm.
Examples: Vite | Next.js | Remix | Astro | Vue
Documentation | Props & Ref Methods | Plugins | Architecture
| Locale | Language | Coverage |
|---|---|---|
en | English | 100% |
de | German | 100% |
pl | Polish | 100% |
pt-BR | Portuguese (Brazil) | 100% |
Help translate the editor into your language! See the full i18n contribution guide.
bun run i18n:new de # scaffold German locale
bun run i18n:status # check translation coverage
[!TIP] Questions or custom features? Email docx-editor@eigenpal.com.
FAQs
DEPRECATED: renamed to @eigenpal/docx-editor-react. A browser-based DOCX editor. Migration guide: https://www.docx-editor.dev/docs/latest/migration
The npm package @eigenpal/docx-js-editor receives a total of 11,671 weekly downloads. As such, @eigenpal/docx-js-editor popularity was classified as popular.
We found that @eigenpal/docx-js-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.