@thingd/native
v0.91.1
Published
Native Node.js binding for thingd — a fast object-first data engine for applications and AI agents.
Maintainers
Readme
@thingd/native
Native Node.js binding for thingd — wraps crates/thingd (published on crates.io as thingd).
This package is an internal dependency of @thingd/sdk and provides the native persistent store via napi-rs. You don't need to install it directly — @thingd/sdk pulls it in automatically when using driver: "native".
The addon uses ThingDB RAM for :memory: and empty-path operation without
creating temporary files. Real filesystem paths use the RocksDB durable backend
by default; set THINGD_STORAGE_BACKEND=thingdb to opt into the experimental
Rust-native durable backend. Published packages include prebuilt native
artifacts for supported targets, so consumers normally do not install LLVM,
Clang, or RocksDB locally. The public SDK store contract remains unchanged.
The native open boundary accepts an optional 64-character hexadecimal key for authenticated encrypted storage. The key is validated before opening the Rust engine. Missing or wrong keys are reported as stable open errors without including key material. MCP and REST callers do not pass this key in requests; the host process supplies it during startup.
