npm

write-excel-file

Write simple `*.xlsx` files in a browser or Node.js

版本 1已同步 1文件 182 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

推荐接入
安全分
100
最近扫描 2026-06-13
扫描覆盖
100%
182 / 182 文件
高危文件
0
0 条 critical
待复核
0
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 4.1.1
182 文件
182 JS / 0 CSS / 0 WASM
未发现阻断级风险
write-excel-file/4.1.1/browser/index.js
https://cdn.ptab.cn/cdn/write-excel-file/4.1.1/browser/index.js
当前版本 182 个文件,8 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

固定到 4.1.1,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

<script src="https://cdn.ptab.cn/cdn/write-excel-file/4.1.1/browser/index.js" integrity="sha256-nP81LvqKIPmluvIB6UUoa5jvA9BlyjD+oTqhWo9kYYs=" crossorigin="anonymous"></script>
1版本
182文件
4.1.1最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
256 B
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/write-excel-file/4.1.1/browser/index.cjs
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/write-excel-file/4.1.1/browser/index.cjs" integrity="sha256-OYKhX496+11BlFdeJIABvxyIZcTMw1egHxsJK+OdDKM=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/write-excel-file/4.1.1/browser/index.cjs";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 4.1.1,展示 182 / 182 个文件。
write-excel-file/4.1.1/browser/index.cjs
JS
256 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/browser/index.js
JS
161 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/node/index.cjs
JS
250 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/node/index.js
JS
160 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/universal/index.cjs
JS
260 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/universal/index.js
JS
163 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/utility/index.cjs
JS
2.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/utility/index.js
JS
1.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/bundle/getSheetData.min.js
JS
432 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/bundle/test-cases.js
JS
79.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/bundle/write-excel-file.min.js
JS
69.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/convertFileContentToUint8ArrayBrowser.js
JS
1.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/convertFileContentToUint8ArrayNode.js
JS
1.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/convertFileContentToUint8ArrayUniversal.js
JS
844 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/convertFilesContentToUint8Arrays.js
JS
1.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/downloadBlob.js
JS
815 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/writeXlsxFileBrowser.js
JS
1.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/writeXlsxFileNode.js
JS
5.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/export/writeXlsxFileUniversal.js
JS
3.4 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/getSheetData/getSheetData.js
JS
777 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/features/conditionalFormatting.js
JS
11.8 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/features/images.js
JS
11.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/features/stickyRowsOrColumns.js
JS
7.4 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/[Content_Types].xml.js
JS
2.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/drawing.xml.js
JS
1.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/drawing.xml.rels.js
JS
1.3 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/rels.js
JS
1.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sharedStrings.xml.js
JS
2.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml.rels.js
JS
1.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/cell.js
JS
6.8 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/column.js
JS
2.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/columns.js
JS
1.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/drawingReference.js
JS
746 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/helpers/floatToInteger.js
JS
561 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js
JS
3.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/mergedCellsDescription.js
JS
2.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/pageMargins.js
JS
1.3 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/pageSetup.js
JS
1.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/processMergedCells.js
JS
4.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/row.js
JS
6.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/sheet.xml.js
JS
4.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/sheetData.js
JS
543 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/sheet.xml/sheetViews.js
JS
1.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/styles.xml.js
JS
8.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/workbook.xml.js
JS
2.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/files/workbook.xml.rels.js
JS
1.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/generateXlsxFileContents.js
JS
15.8 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/getFeatures.js
JS
1.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/convertDateToSerialNumber.js
JS
859 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/features/getAdditionalContent.js
JS
1.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/features/getElementXml.js
JS
2.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/features/getWrittenFiles.js
JS
3.4 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/features/transformContent.js
JS
1.8 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getAlignmentXml.js
JS
3.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getBorderXml.js
JS
2.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getCellAddress.js
JS
902 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getFileExtensionForContentType.js
JS
600 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getFillXml.js
JS
2.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getFontXml.js
JS
3.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getOrderOfSiblings.js
JS
2.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/getXlsxColorForHexColor.js
JS
389 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/hasAlignment.js
JS
435 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/hasBorder.js
JS
814 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/hasFill.js
JS
385 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/hasFont.js
JS
540 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/isCellObject.js
JS
678 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/isObject.js
JS
311 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/helpers/orderOfSiblings.js
JS
6.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/initializeSharedStrings.js
JS
678 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/initializeSheets.js
JS
4.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/initializeStyles.js
JS
9.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/validateSheetData.js
JS
1.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xlsx/validateSheetName.js
JS
868 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/appendMarkupInsideElement.js
JS
854 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/applyEnclosingElementOffset.js
JS
594 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/escapeXmlSpecialCharacters.js
JS
2.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/findElement.js
JS
961 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/findElementInsideElement.js
JS
1.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/findElementsNonRecursive_.js
JS
3.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/getAttributesString.js
JS
976 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/getChildElements.js
JS
2.4 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/getClosingTagMarkup.js
JS
361 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/getMarkupInsideElement.js
JS
547 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/getOpeningTagMarkup.js
JS
679 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/getSelfClosingTagMarkup.js
JS
691 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/insertElementMarkupAccordingToOrderOfSiblings.js
JS
5.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/prependMarkupInsideElement.js
JS
862 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/removeInvalidXmlCharacters.js
JS
2.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/replaceElement.js
JS
726 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/sanitizeAttributeName.js
JS
946 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/sanitizeAttributeValue.js
JS
1.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/sanitizeTextContent.js
JS
1.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/xml/setMarkupInsideElement.js
JS
987 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/zip/zipToArrayBuffer.js
JS
1.8 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/zip/zipToArrayBufferSync.js
JS
1.4 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/commonjs/zip/zipToStream.js
JS
4.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/convertFileContentToUint8ArrayBrowser.js
JS
968 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/convertFileContentToUint8ArrayNode.js
JS
1.4 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/convertFileContentToUint8ArrayUniversal.js
JS
726 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/convertFilesContentToUint8Arrays.js
JS
966 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/downloadBlob.js
JS
715 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/writeXlsxFileBrowser.js
JS
1.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/writeXlsxFileNode.js
JS
5.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/export/writeXlsxFileUniversal.js
JS
2.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/getSheetData/getSheetData.js
JS
677 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/features/conditionalFormatting.js
JS
11.1 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/features/images.js
JS
11.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/features/stickyRowsOrColumns.js
JS
6.6 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/[Content_Types].xml.js
JS
1.9 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/drawing.xml.js
JS
1.2 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/drawing.xml.rels.js
JS
996 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/rels.js
JS
908 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sharedStrings.xml.js
JS
1.7 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml.rels.js
JS
1.3 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml/cell.js
JS
6.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml/column.js
JS
2.5 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml/columns.js
JS
1.0 KB
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml/drawingReference.js
JS
555 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml/helpers/floatToInteger.js
JS
459 B
SRI ready
未分级
0 请求
write-excel-file/4.1.1/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js
JS
3.2 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。