npm / docx-preview
docx-preview
What changed in docx-preview 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
2 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdocx-preview 0.42 changes
New APIs and options 2
Added an h hook to rendering options to intercept HTML element creation; it is now used in most places to create HTML nodes.
Added support for nested smart tags.