Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's new in the Node-API and node-addon-api world? - 2024 version #459

Open
legendecas opened this issue Feb 23, 2024 · 7 comments
Open
Milestone

Comments

@legendecas
Copy link
Member

We use this issue to track/announce what is new on the Node-API front.

We'll discuss at the start of Node-API meetings and capture what's new.

Also feel free to post news that you have so that we can share with the broader community.

@legendecas
Copy link
Member Author

node-addon-api v8.0.0 released this week.

@vmoroz
Copy link
Member

vmoroz commented Apr 19, 2024

Hermes team tentatively decided to add support for Node-API to a future version of Static Hermes JavaScript engine.
See the related discussion and the initial PR.
NativeScript team considers using it to integrate with React Native.

@shirakaba
Copy link

shirakaba commented Apr 20, 2024

NativeScript team considers using it to integrate with React Native.

I gave several demos of this integration for React Native on iOS, on Twitter:

@shirakaba
Copy link

shirakaba commented Jun 14, 2024

Today I successfully used node-swift to call native macOS APIs via Swift from the Node.js process of an Electron project. It's missing from the node-api-engine-bindings.md documentation, but it seems more recent and more comprehensive than the currently listed swift-napi-bindings.

@NickNaso
Copy link
Member

SWIG starting from version 4.2.0 introduced generator generator targeting Node.js binary stable ABI Node-API.
Here an example of a module that uses it https://github.com/mmomtchev/magickwand.js

@NickNaso
Copy link
Member

In the lsta 6 months node-addon-api has the same download of nan:
image
https://npmtrends.com/nan-vs-node-addon-api

@NickNaso
Copy link
Member

Article about Node-API (ex N-API) Compile and run C in JavaScript https://bun.sh/blog/compile-and-run-c-in-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants