A linkable and runtime-injectable Node-API implementation that allows native addons to be built without direct linking against a Node-API provider. Version 0.1.1 is the latest stable release, part of the React Native Node-API project. It is a thin shim that exposes only Node-API function declarations, enabling runtime injection of the actual implementation by the host (e.g., React Native runtime), solving Android dynamic linker symbol resolution issues. Unlike typical Node-API bindings, it decouples addon compilation from the runtime, supporting React Native and potentially other contexts. Dependencies: none. Release cadence: early stage, active development.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Renamed from WeakNodeApiHost to NodeApiHost in v0.1.0.
ESM only; no CommonJS support documented.
TypeScript type export, no value runtime.
Named export; default import is not available.
Demonstrates creating a NodeApiHost and defining a module with weak-node-api.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.