seeksvc Search tools, solutions, libraries…
npmjs.com icon
officegen Open source · MIT ★ 2.7k
Creating Office Open XML files for Microsoft Office 2007 and later without external tools, just pure Javascript.
Visit website ↗ GitHub ↗
Introduction
officegen creates Office Open XML files (Word, Excel and Powerpoint) for Microsoft Office 2007 and later without external tools, just pure Javascript. *officegen* should work on any environment that supports Node.js including Linux, OSX and Windows.
### Officegen features overview
- Generating Microsoft PowerPoint document (.pptx file): create PowerPoint document with one or more slides; support both PPT and PPS; can create native charts; add text blocks; add images; can declare fonts, alignment, colors and background; you can rotate objects; support shapes: Ellipse, Rectangle, Line, Arrows, etc.; support hidden slides; support automatic fields like date, time and current slide number; support speaker notes; support slide layouts.
- Generating Microsoft Word document (.docx file): create Word document; you can add one or more paragraphs to the document and you can set the fonts, colors, alignment, etc.; you can add images; support header and footer; support bookmarks and hyperlinks.
- Generating Microsoft Excel document (.xlsx file): create Excel document with one or more sheets. Supporting cells with either numbers or strings.
### Installation
```bash
$ npm install officegen
```
Since that officegen is using node.js events you can also create a document directly into a http respons stream. This async method is working like a pipe - it'll generate the pptx data and put it into the output stream.
Office Open XMLNode.jsWord documentsExcel documentsPowerPoint filesNative chartsPure JavaScript
Screenshots
officegen · 首页
Deployment
npm 安装(Node.js)
适用于在支持 Node.js 的 Linux、macOS 或 Windows 环境中将 officegen 作为 JavaScript 库集成到应用里生成 Office Open XML 文件。
Details
Type Open-source software
License MIT
GitHub Stars 2,714
Last commit 119 周前
Last verified 2026-07-18
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.
seeksvc
一个可查询的宝藏收藏库:开源与闭源软件、开发库与完整解决方案。
© 2026 seeksvc · Manually verified, continuously updated