# guigrpa/docx-templates

Template-based docx report creation

Repository: https://github.com/guigrpa/docx-templates
Canonical: https://ross.abutalabs.com/products/docx-templates
Language: TypeScript
License: MIT
License Family: permissive
Topics: docx, ms-word, docx-file, docx-generator, template, reporting
Last push: 2026-03-25T22:54:22+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 35, longevity 100
- inputs: {"age_days": 3551, "days_push": 161, "days_rel": 273, "gap_med": 134.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1091, forks 173 (observed 2026-08-28T04:03:33.021329+00:00)

## What it is
A TypeScript library for template-based DOCX report generation that runs in Node, Deno, and the browser. Templates are authored directly in Word with embedded commands for data queries, JavaScript execution, loops, conditionals, images, links, and HTML.

## Use cases
- generate Word reports from templates
- fill docx templates with dynamic data
- insert images and charts into Word documents programmatically
- create invoices or contracts from Word templates
- run loops and conditionals inside docx templates
- generate reports in the browser from a docx template

## When to choose
- you want to author templates visually in Microsoft Word rather than in code
- you need dynamic content like images, links, HTML, loops, and conditionals in docx output
- you need the same templating to work in Node, Deno, and the browser

## When to avoid
- you need to generate documents from scratch without an existing Word template
- you need output formats other than docx/docm such as PDF or ODT
- you need server-side heavy document layout control beyond what Word templates offer

## Facets
- artifact type: library
- maturity: active
- function: templating, pdf, developer-tools
- domain: files, developer-tools
- platform: browser, cross-platform
- tags: docx, ms-word, report-generation, template-engine, typescript, automation, nodejs, deno, web-server

## Member repositories
- guigrpa/docx-templates (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.021329+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:08.313370+00:00, confidence not recorded.
  - readme: https://github.com/guigrpa/docx-templates (fetched 2026-08-28T04:03:33.021329+00:00, sha 27765d441906)
  - registry_npm: https://registry.npmjs.org/docx-templates (fetched 2026-08-29T12:51:15.523301+00:00, sha 44fc92f40ffd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
