From ccfe7df0f6349bd2842a7590897ad57c811822d1 Mon Sep 17 00:00:00 2001 From: southorange0929 Date: Sun, 8 Dec 2024 10:50:49 +0800 Subject: [PATCH] docs --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 404be1b..31c9f68 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,12 @@ target_link_libraries(entry PRIVATE node_addon_api_ohos) For node-addon-api-ohos, we acccepted the following environment variables: -| Name | Description | Default Value | -| --------------------------- | ----------------------------------- | ------------- | -| NAPI_CPP_EXCEPTIONS | Allow catch the cpp exception | true | -| NAPI_DISABLE_CPP_EXCEPTIONS | Disable catch the cpp exception | false | -| NAPI_NORMAL | Hidden some APIs or cases for Harmony | true | +| Name | Description | Default Value | +| --------------------------- | ----------------------------------------- | ------------- | +| NAPI_CPP_EXCEPTIONS | Allow catch the cpp exception | true | +| NAPI_DISABLE_CPP_EXCEPTIONS | Disable catch the cpp exception | false | +| NAPI_NORMAL | Hidden some APIs or cases for Harmony | true | +| NODE_GYP_MODULE_NAME | `NODE_API_ADDON` use it as library's name | | ## Build