# nitin42/redocx

📄  Create word documents with React

Repository: https://github.com/nitin42/redocx
Canonical: https://ross.abutalabs.com/products/redocx
Language: JavaScript
License Family: other
Topics: react, renderer, word-documents, library, react-fiber, components
Last push: 2020-09-10T07:27:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3301, "days_push": 2183, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1433, forks 73 (observed 2026-08-28T04:04:43.250551+00:00)

## What it is
redocx is a React custom renderer (built on React Fiber) that lets you declaratively create Word documents (.docx) using React components. It provides components like Document and Text that render to a Word file via a render call.

## Use cases
- generate word documents from react components
- create docx files declaratively in javascript
- render react components to word documents
- automate report generation as docx
- build word documents with a component-based approach

## When to choose
- you already use React and want to generate .docx files declaratively
- you want a component-based API for Word document generation in Node.js

## When to avoid
- you need actively maintained software with recent releases
- you need PDF or HTML output instead of Word documents
- you need advanced Word features like complex tables, headers/footers, or styles beyond the provided components

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, ui-components, developer-tools
- domain: frontend, developer-tools, files
- platform: cli
- tags: react-renderer, docx, react-fiber, word-documents, custom-renderer, nodejs, javascript

## Member repositories
- nitin42/redocx (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.250551+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-30T04:36:57.973368+00:00, confidence not recorded.
  - readme: https://github.com/nitin42/redocx (fetched 2026-08-28T04:04:43.250551+00:00, sha 0b2437639e4f)
  - registry_npm: https://registry.npmjs.org/redocx (fetched 2026-08-29T11:48:24.284151+00:00, sha f7e46631cae9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
