@automerge/automerge-subduction

中文文档
0.22.0发布于 2026/11/04MIT OR Apache-2.0TypeScriptESM + CJS零依赖构建来源已验证近 30 天下载 2万

Wasm bindings for syncing Automerge documents via Subduction

原始使用文档
文档目录3 节
  1. Overview
  2. Building and releasing
  3. License

automerge_subduction_wasm

[!WARNING] This is an early release preview. It has a very unstable API. No guarantees are given. DO NOT use for production use cases at this time. USE AT YOUR OWN RISK.

Wasm bindings for syncing Automerge documents via Subduction.

Overview

This crate combines the Automerge document ID helpers (e.g. commitIdOfBase58Id) with subduction_wasm to provide a complete solution for syncing Automerge documents in browser and Node.js environments.

Building and releasing

Build dist/ with bodge automerge_subduction_wasm inside nix develop. See RELEASING.md for the full release steps.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

版本与发布记录

@automerge/automerge-subduction 共发布 30 个版本,首次发布于 2026/02/27;过去 12 个月发布了 30 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.22.0latest2026/11/043 天前
0.21.02026/10/2216 天前
0.20.22026/10/1325 天前
0.20.12026/10/1325 天前
0.20.02026/10/1325 天前
0.19.02026/10/081 个月前

关于 @automerge/automerge-subduction 的常见问题

@automerge/automerge-subduction 是什么?

Wasm bindings for syncing Automerge documents via Subduction

如何安装 @automerge/automerge-subduction?

在项目目录运行 npm install @automerge/automerge-subduction,或使用 pnpm add / yarn add / bun add。

@automerge/automerge-subduction 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@automerge/automerge-subduction 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@automerge/automerge-subduction 可以商用吗?

@automerge/automerge-subduction 使用 MIT OR Apache-2.0 许可。可在 MIT、Apache-2.0 中任选其一遵守。选择 MIT 时,宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@automerge/automerge-subduction 的下载量有多少?

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

@automerge/automerge-subduction 还在维护吗?

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