How xlsx-populate works
masterxlsx-populate operates by manipulating the underlying XML structure of an XLSX workbook rather than deserializing the entire file into a rich object model.
An XLSX workbook is a zip archive of XML files. The library uses JSZip to unzip the workbook and sax-js to parse the XML documents into objects. As you call methods, xlsx-populate manipulates these objects directly. When generating output, it uses xmlbuilder-js to convert the objects back to XML and JSZip to re-zip them.
Key Benefit: Because it manipulates the XML data directly instead of attempting to map the entire Office Open XML specification to a high-level model, it can preserve styles and other content that the library does not explicitly support, preventing data loss during the read/write cycle.