Skip to content

Generate docx and pptx (microsoft word documents) from templates, from Node.js, the Browser and the command line / Demo: http://javascript-ninja.fr/docxtemplater/v3/examples/demo.html

License

Notifications You must be signed in to change notification settings

xxxxlr/docxtemplater

 
 

Repository files navigation

docxtemplater

Build Status Download count Current tag Issues closed

docxtemplater logo

Join the chat at https://gitter.im/open-xml-templating/docxtemplater

docxtemplater is a library to generate docx/pptx documents from a docx/pptx template. It can replace {placeholders} with data and also supports loops and conditions. The templates can be edited by non-programmers, eg for example your clients.

Features

Demo Site

Quickstart

Documentation

The full documentation of the latest version can be found on read the docs.

See CHANGELOG.md for information about how to migrate from older versions.

Similar libraries

They are a few similar libraries that work with docx, here’s a list of those I know a bit about:

  • docx4j :JAVA, this is probably the biggest docx library out there. They is no built in templating engine, but you can generate your docx yourself programmatically
  • docx.js: Javascript in the browser, you can create (not modify) your docx from scratch, but only do very simple things such as adding non formatted text
  • xlsx-templater : its working quite well, does the same as here but for xlsx

Modules

Functionality can be added with modules. There is yet no documentation on how to write modules yourself because the API might change in the future, but you can open an issue if you have any question about it.

Here is the list of existing modules:

Free modules (by docxtemplater core team members):

Pro modules (developped by docxtemplater core team members):

User contributed modules :

Professional Support

I can give your company support for installing, extending, answering support questions, or maintaining your app that runs docxtemplater. The support plan is paid per month and can be booked from https://plasso.com/s/ycwo8O3hDH

About

Generate docx and pptx (microsoft word documents) from templates, from Node.js, the Browser and the command line / Demo: http://javascript-ninja.fr/docxtemplater/v3/examples/demo.html

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.5%
  • Other 1.5%