Skip to content
Prev Previous commit
Next Next commit
Update doc/api/n-api.md
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
mhdawson and legendecas authored Oct 26, 2022
commit 9d67a665a530422993fce6002283821f2d0a1fc1
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2362,7 +2362,7 @@ This API allocates a JavaScript value with external data attached to it. This
is used to pass external data through JavaScript code, so it can be retrieved
later by native code using [`napi_get_value_external`][].

**Some runtimes other than Node.ja hasve dropped support for external buffers**.
**Some runtimes other than Node.ja have dropped support for external buffers**.
Comment thread
mhdawson marked this conversation as resolved.
Outdated
On runtimes other than Node.js this method may return
`napi_no_external_buffers_allowed` to indicate that external
buffers are not supported. One such runtime is electron as

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we spell Electron with an upper-case letter first?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update

Expand Down