This module provides a declarative API for creating .docx files that works
in both Node.js and browser environments. The library generates documents
compliant with the OOXML (Office Open XML) specification.
The primary export is the Document class (internally named File), which
serves as the main entry point for creating Word documents.
Main entry point for the docx library.
This module provides a declarative API for creating .docx files that works in both Node.js and browser environments. The library generates documents compliant with the OOXML (Office Open XML) specification.
The primary export is the
Documentclass (internally namedFile), which serves as the main entry point for creating Word documents.Example