/syncfusion-document-sdk:syncfusion-javascript-wordfrom Syncfusion Document SDK
Create, open, edit, and save Word (.docx) documents programmatically with the Syncfusion JavaScript Word Library (@syncfusion/ej2-docx) in Node.js and browsers. Covers WordDocument load/save, paragraphs, text and character formatting, tables and merging, images, hyperlinks, fields, lists, headers/footers, sections and page setup, content controls, and error handling. Use whenever the user mentions ej2-docx, DOCX generation or editing in JavaScript/TypeScript, WordDocument, Word document processing without Microsoft Word, or round-tripping docx files.
Ships in Syncfusion Document SDK. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
@syncfusion/ej2-docx)Non-UI library for creating, reading, editing and saving .docx files in Node.js and browsers. No Microsoft Word needed. Unsupported content (unknown XML, parts, relationships) is preserved on open → save round-trips.
npm install @syncfusion/ej2-docx
Import from the package root: import { WordDocument } from '@syncfusion/ej2-docx';.
Read only the reference needed for the task:
| Task | Read |
|---|---|
| Create / open / save, base64, browser vs Node I/O, errors | references/getting-started.md |
| Paragraphs, text, character & paragraph formatting, lists | references/text-and-formatting.md |
| Tables, cells, merge, table formatting | references/tables.md |
| Images, hyperlinks, fields, content controls | references/inline-content.md |
| Sections, page setup, headers/footers, page numbers | references/sections-headers-footers.md |
| Limits, gotchas, internal/unsupported APIs | references/troubleshooting.md |
import { WordDocument } from '@syncfusion/ej2-docx';
const document = WordDocument.create(); // new blank document
const section = document.sections[0]; // add content on the section body
const paragraph = section.body.paragraphs[0]; // default empty paragraph
paragraph.appendText('Bold intro. ', { bold: true });
paragraph.appendText('Normal text.');
const title = section.body.appendParagraph({ text: 'Quarterly Report' });
title.items; // paragraph items (text ranges, tabs, ...)
const table = section.body.appendTable(); // 1x1 table
table.resetCells(2, 2); // resize to 2 rows x 2 cols
table.rows[0].cells[0].text = 'Name';
table.rows[0].cells[1].text = 'Qty';
const bytes: Uint8Array = doc.saveSync(); // OPC zip bytes
// Node: fs.writeFileSync('out.docx', bytes)
// Browser: await doc.save('out.docx') -> triggers a download
Open an existing file:
import { readFileSync } from 'node:fs';
const doc = WordDocument.open(new Uint8Array(readFileSync('in.docx')));
console.log([...doc.sections[0].body.paragraphs].map(p => p.text));
WordDocument → sections[] → Section → body (Body), pageSetup, headersFooters.Body / table cells / headers / footers hold ordered blocks (items): Paragraph, Table, block content controls. body.paragraphs is a typed view.Paragraph → items (TextRange, Tab, fields, hyperlinks, pictures, ...), paragraphFormat, listFormat, text (read-only plain text).TextRange.characterFormat holds run formatting (bold, italic, fontName, fontSize, textColor, ...).open; pass bytes (Uint8Array/ArrayBuffer), a File/Blob via openAsync, or base64 with { format: 'base64' }.fs.writeFileSync) using saveSync() or await save(). save('name.docx') is a browser download only.document.sections[0].body.appendParagraph / appendTable), not on WordDocument. Objects must be attached to a document to be mutated (detached ones throw DetachedObjectError)..d.ts of the installed version before using symbols not shown in these references; some members are @internal and are trimmed from published typings.README.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/inline-content.md (opens in a new tab)references/sections-headers-footers.md (opens in a new tab)references/tables.md (opens in a new tab)references/text-and-formatting.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-document-sdk16 skills in this plugin
/syncfusion-dotnet-calculateImplements the Syncfusion dotnet Calculate Library for parsing and evaluating formulas using CalcEngine, ICalcData, CalcQuickBase, and ExcelLikeComputations. Supports formula computation, custom functions, cross-sheet references, and XlsIO formula evaluation. Trigger when implementing formula calculations, expression parsing, workbook formula evaluation, or custom function registration./syncfusion-dotnet-document-chunkingStructure-aware document chunking for RAG and vector indexing using Syncfusion Document Chunking. Supports Word, PDF, PowerPoint, Excel, and Markdown via ChunkingService with path/stream/async APIs, ChunkingOptions, format modes, metadata/citations. Generate C# code for the user's project from reference APIs only. Use when the user mentions document chunking, RAG chunks, embeddings, vector indexing, ChunkingService, Syncfusion DocumentChunking, or splitting docs/pdf/docx/pptx/xlsx/md for semantic search./syncfusion-dotnet-excelCreate, edit, and convert Excel workbooks (.xlsx/.xls) using Syncfusion XlsIO. Supports two modes — generate C# code for the user's project, or execute a temporary CSX script. Use when the user mentions Excel, xlsx, workbook, template markers, Syncfusion XlsIO, PDF conversion, or custom fonts for Excel-to-PDF or Excel-to-Image conversion.Other plugins' skills for the same job