n8n-nodes-word-lib-tool
v0.1.0
Published
Edit Word (.docx) files in n8n — remove generated tab-title paragraphs and other OOXML paragraph fixes.
Downloads
125
Maintainers
Readme
n8n-nodes-word-lib-tool
Edit Word .docx files in n8n using JSZip and OOXML edits (no external API, no Word installed on the server).
Features
- Remove paragraph containing text: Deletes the first
w:pblock inword/document.xmlwhose text runs contain your marker string. Intended for post-processing Google Docs → DOCX exports (e.g. tab title line afterdeleteTab), without mergingw:sectPr(avoids an extra blank title page).
Local development
cd n8n-nodes-word-lib
npm install
npm run build
npm run devPoint your n8n community nodes directory at this package per n8n community nodes documentation.
Publish to npm
One-time: npm login (or use a granular automation token).
Local publish (no npm provenance; fine for internal use):
npm run build && npm run lint
npm run publish:npmpublish:npm sets RELEASE_MODE=true so prepublishOnly allows the publish (the n8n CLI blocks plain npm publish otherwise).
Recommended (provenance, n8n-verified path): Put this folder in its own GitHub repo, configure Trusted Publishers on npm (or add an NPM_TOKEN secret), then push a semver tag *.*.* so .github/workflows/publish.yml runs npm run release in CI.
License
MIT
