@delali/sirannon-sqlite-darwin-arm64

中文文档
0.4.2发布于 2026/11/16Apache-2.0 AND MIT AND BSD-3-Clause零依赖构建来源已验证近 30 天下载 2390

better-sqlite3 compiled against Sirannon's build of SQLite, for macOS on Apple silicon.

原始使用文档
文档目录3 节
  1. Install
  2. What it does
  3. Licence

@delali/sirannon-sqlite-darwin-arm64

npm license

This package contains better-sqlite3's native module, built for macOS on Apple silicon against Sirannon's build of SQLite, which is SQLite3 Multiple Ciphers with a patch that counts the rows that each statement reads and writes.

Install

When you install @delali/sirannon-sqlite, npm installs this package with it:

pnpm add -E @delali/sirannon-db @delali/sirannon-sqlite

@delali/sirannon-sqlite lists all six platform packages as optional dependencies, so npm installs only the one whose os and cpu match your host. The release workflow publishes this package at the library's version, which is the exact version that @delali/sirannon-sqlite requires.

What it does

When you pass rowCounts: true, Sirannon's better-sqlite3 driver loads this module and reports the rows that each statement reads and writes through onQueryComplete. The counting rules are in the core engine guide.

When you create the driver with betterSqlite3({ encryption: true }), the driver loads this module and keeps every page of a database that you open with the encryption option as ciphertext. SQLite3 Multiple Ciphers encrypts each page with AEGIS-256, from code that is compiled into this module. The key rules are in the encryption guide.

Licence

The Apache-2.0, MIT, and BSD-3-Clause licences cover this package. Each project whose code is in this package has its name and licence in the package's NOTICE file, and the patches, the build script, and the tests are in assetcorp/sirannon-db.

版本与发布记录

@delali/sirannon-sqlite-darwin-arm64 共发布 20 个版本,首次发布于 2026/11/05;过去 12 个月发布了 20 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.4.2latest2026/11/16今天
0.4.2-next.92next2026/11/16今天
0.4.12026/11/15今天
0.4.1-next.892026/11/15今天
0.4.1-next.862026/11/105 天前
0.4.1-next.872026/11/105 天前

关于 @delali/sirannon-sqlite-darwin-arm64 的常见问题

@delali/sirannon-sqlite-darwin-arm64 是什么?

better-sqlite3 compiled against Sirannon's build of SQLite, for macOS on Apple silicon.

如何安装 @delali/sirannon-sqlite-darwin-arm64?

在项目目录运行 npm install @delali/sirannon-sqlite-darwin-arm64,或使用 pnpm add / yarn add / bun add。

@delali/sirannon-sqlite-darwin-arm64 支持 TypeScript 吗?

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

@delali/sirannon-sqlite-darwin-arm64 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@delali/sirannon-sqlite-darwin-arm64 可以商用吗?

@delali/sirannon-sqlite-darwin-arm64 使用 Apache-2.0 AND MIT AND BSD-3-Clause 许可。声明的许可为 Apache-2.0 AND MIT AND BSD-3-Clause,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@delali/sirannon-sqlite-darwin-arm64 的下载量有多少?

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

@delali/sirannon-sqlite-darwin-arm64 还在维护吗?

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