@delali/sirannon-sqlite-win32-arm64
This package contains better-sqlite3's native module, built for Windows on 64-bit Arm 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.
The module looks up Node's functions in the process that loads it, so it loads under a Node executable of any file name.
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.