Description
docx is a JavaScript and TypeScript library for creating and modifying .docx files with a declarative API. It works in Node.js and in the browser. You describe the document in code, with sections, paragraphs, text, images, shapes, tables and charts, and the library writes the Word file. The documentation lists the main parts of a document, including convenience functions, text frames, symbols, images and a range of chart types such as column, line, pie, scatter, radar, bubble, stock and combo charts. It has more than 80 usage examples, a quickstart guide and demos. The project says it is battle tested and has full test coverage. It suits developers who need to generate documents from application data. The site includes installation steps, basic usage and an API reference, and the source is public on GitHub.…
Highlights
- Create .docx files from JavaScript or TypeScript
- Works in Node.js and in the browser
- Paragraphs, images, shapes and tables
- Chart types including column, pie, scatter and stock
- More than 80 usage examples
Ratings & Reviews
No ratings yet
Be the first to rate Docx.
People also visit
Docx FAQ
What is docx?
A library for generating and modifying Word .docx files from JavaScript or TypeScript code.
Does it work in the browser?
Yes. The site says it works for Node and in the browser.
What can I put in a document?
Sections, paragraphs, text, images, shapes, text frames and several chart types.
Where can I learn it?
The site has a quickstart guide, basic usage notes, more than 80 examples and an API reference.
How well tested is it?
The site says it is battle tested and has full coverage of every line.
What are the best Docx alternatives?
Popular alternatives to Docx include React Spreadsheet, CxReports and Fluentreports. See all Docx alternatives





