officegen Open source · MIT ★ 2.7k
Creating Office Open XML files for Microsoft Office 2007 and later without external tools, just pure Javascript.
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

Deployment
npm 安装(Node.js)
适用于在支持 Node.js 的 Linux、macOS 或 Windows 环境中将 officegen 作为 JavaScript 库集成到应用里生成 Office Open XML 文件。
officegen alternatives
Node.js Open source
Node.js从2009年诞生至今,已经发展了两年有余,其成长的速度有目共睹。从在github的访问量超过Rails,到去年底Node.jsS创始人Ryan Dalh加盟Joyent获得企业资助,再到今年发布Windows移植版本,Node
TypeORM Open source
In this article, we go through the basics of TypeORM migrations. It includes explaining why they are important & how to
GitKraken Proprietary
GitKraken – 好用的垮平台Git GUI – 這世上 沒有偶然 只有必然
Python Open source
Python Module of the Week - Python Module of the Week
Shadowsocks Open source
Shadowsocks非官方网站
WireGuard Open source
18.08.23更新 关于apt-get update无法解析源域名的问题,原因是预制的服务商镜像源并不对外开…
Browsersync Open source
Browsersync - Time-saving synchronised browser testing
NW.js Open source
NW.js
Details
Type Open-source software
License MIT
Repository Ziv-Barber/officegen
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.