← Files Atbash SafetyARCHIVED FILE

runtime/atbash-native.cjs

460 Bytes · Sep 30, 2026 · 23:15 UTC

↓ Download file

"use strict";
const key = process.platform + "-" + process.arch;
const targets = {
  "darwin-arm64": "./native/darwin-arm64/atbash.node",
  "linux-arm64": "./native/linux-arm64/atbash.node",
  "linux-x64": "./native/linux-x64/atbash.node",
  "win32-x64": "./native/win32-x64/atbash.node"
};
const target = targets[key];
if (target === undefined) {
  throw new Error("Atbash does not publish a native SDK for " + key + ".");
}
module.exports = require(target);

SHA-256: 1c220fceb85a0a6489e2f562438f548c585a9d53a1861921ca44c7593d187a29