@ai-ecoverse/wasm-tar

中文文档
1.35.0-9发布于 2026/10/22GPL-3.0-or-later零依赖构建来源已验证近 30 天下载 1.8万

GNU tar, which creates and extracts archives, with -z, -j and -J compression.

原始使用文档

@ai-ecoverse/wasm-tar

GNU tar 1.35 for slicc's wasm realm.

pnpm add -g @ai-ecoverse/wasm-tar
tar -tf archive.tar

Since 1.35.0-5 tar uses slicc-kernel's process credentials, so root is root: tar -x as root keeps the archive's owners and modes (setuid and setgid included), as GNU tar does on Linux; any other user gets its own ids and its umask. 1.35.0-4 and older saw Emscripten's fixed ids, and root's tar -x behaved like a non-root extract unless given --same-owner -p.

Since 1.35.0-6 tar makes hard links through slicc-kernel (linkat). On slicc-kernel 1.90.0 and later, a hard-link member extracts as a real link where the filesystem supports it (a tmpfs mount); the browser's OPFS has no hard links, so there, and on older kernels, tar reports Cannot hard link to …: Too many links (EMLINK), exits 2 and extracts the other members.

版本与发布记录

@ai-ecoverse/wasm-tar 共发布 10 个版本,首次发布于 2026/09/28;过去 12 个月发布了 10 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.35.0-9latest2026/10/2215 天前
1.35.0-82026/10/1918 天前
1.35.0-72026/10/1620 天前
1.35.0-62026/10/1521 天前
1.35.0-52026/10/1323 天前
1.35.0-42026/10/1027 天前

关于 @ai-ecoverse/wasm-tar 的常见问题

@ai-ecoverse/wasm-tar 是什么?

GNU tar, which creates and extracts archives, with -z, -j and -J compression.

如何安装 @ai-ecoverse/wasm-tar?

在项目目录运行 npm install @ai-ecoverse/wasm-tar,或使用 pnpm add / yarn add / bun add。

@ai-ecoverse/wasm-tar 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/ai-ecoverse__wasm-tar 是否存在。

@ai-ecoverse/wasm-tar 可以商用吗?

@ai-ecoverse/wasm-tar 使用 GPL-3.0-or-later 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以 GPL-3.0 兼容许可开源,并附带专利与反锁定条款。仅内部使用不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@ai-ecoverse/wasm-tar 的下载量有多少?

根据 npm 官方下载统计,@ai-ecoverse/wasm-tar 在 2026/10/05 – 2026/11/03 这 30 天内被下载 18,036 次,日均约 601 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ai-ecoverse/wasm-tar 还在维护吗?

最新版本 1.35.0-9 发布于 2026/10/22(15 天前);至今共发布 10 个版本,其中过去 12 个月发布了 10 个;首次发布于 2026/09/28。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。