ONLYOFFICE Document Builder allows you to build docs easily without running an actual editor. It also allows the developers to automate document building using the templates.
Document Builder has all the features of a common document editor but is lightweight and can be easily integrated into your document management system, CRM system, etc.
Official website: https://www.onlyoffice.com/document-builder.aspx
Code repository: https://github.com/ONLYOFFICE/DocumentBuilder
Document Builder API https://api.onlyoffice.com/docbuilder/basic
ONLYOFFICE Document Builder is dual-licensed. For commercial use, contact [email protected]