# docx **Repository Path**: copier/docx ## Basic Information - **Project Name**: docx - **Description**: 纯js实现的docx文件预览,使用echarts支持常见图表 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2021-09-19 - **Last Updated**: 2024-10-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Docx-js > 纯js实现的docx文件预览 [在线地址](https://yuexing91.github.io/docx-js/index.html) ## Usage ```js import Docx from 'docx-js' Docx.docx2HTML(evt.target.files[0]).then(docx => { docx.toHTML(document.getElementById('app')) }); ```