html-to-docx:HTML 到 DOCX 转换器

时间:2021-07-24 05:16:29
【文件属性】:
文件名称:html-to-docx:HTML 到 DOCX 转换器
文件大小:117KB
文件格式:ZIP
更新时间:2021-07-24 05:16:29
JavaScript html 到 docx html-to-docx 是一个 js 库,用于将 HTML 文档转换为 Microsoft Word 2007+、LibreOffice Writer、Google Docs、WPS Writer 等支持的 DOCX 格式。 它的灵感来自项目,但减轻了生成的文档与不支持功能的 Google Docs 和 libreOffice Writer 等文字处理器不。 html-to-docx 之前在解析之前使用清理 html,但由于 node-gyp 导致了很多依赖问题,因此不得不将其删除。 免责声明 即使有一个 html-to-docx 实例在生产中运行,请确保它涵盖了您通常可能遇到的所有情况,因为这不是一个完整的解决方案。 目前它不能直接与浏览器一起使用,但它已针对 React 进行了测试。 安装 使用 npm 安装 foobar。 npm install
【文件预览】:
html-to-docx-master
----.eslintrc.json(156B)
----rollup.config.js(1KB)
----commitlint.config.js(70B)
----src()
--------utils()
--------docx-document.js(18KB)
--------helpers()
--------schemas()
--------html-to-docx.js(7KB)
----.vscode()
--------launch.json(223B)
----.npmignore(73B)
----example()
--------example-node.js(5KB)
--------example.js(5KB)
----LICENSE(1KB)
----.prettierrc(47B)
----README.md(7KB)
----template()
--------document.template.js(1KB)
----.gitignore(2KB)
----index.js(2KB)
----CHANGELOG.md(120KB)
----package-lock.json(275KB)
----package.json(2KB)

网友评论