@ohos-ports/blob-jsi-helper-native
v0.3.1-beta.0
Published
OpenHarmony (HarmonyOS) arm64 Node.js N-API host bridge for react-native-blob-jsi-helper. Prebuilt from the node/blob-jsi-helper-native.cpp sources of [email protected] with the OpenHarmony clang toolchain (aarch64-unknown-linux-ohos, cla
Readme
@ohos-ports/blob-jsi-helper-native
Prebuilt OpenHarmony (HarmonyOS) arm64 Node.js N-API host bridge for
react-native-blob-jsi-helper.
It ships build/Release/blob-jsi-helper-native.openharmony-arm64.node, compiled from the
node/blob-jsi-helper-native.cpp sources of [email protected] with the
OpenHarmony clang toolchain (aarch64-unknown-linux-ohos, clang++ 15.0.4, NAPI_VERSION=8).
The addon exposes install(), which installs the JSI-style host functions
global.getArrayBufferForBlob / global.getBlobForArrayBuffer backed by a native blob store.
It is loaded automatically by @ohos-ports/react-native-blob-jsi-helper when running under
plain Node.js on OpenHarmony (outside a React Native app runtime).
Usage
require('@ohos-ports/blob-jsi-helper-native').install();
// global.getArrayBufferForBlob / global.getBlobForArrayBuffer are now availableLicense: MIT (inherits the upstream react-native-blob-jsi-helper license).
