Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
richerfu committed Dec 8, 2024
1 parent ffd6ac3 commit ccfe7df
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ccfe7df

Please sign in to comment.