-
Notifications
You must be signed in to change notification settings - Fork 34
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
Node-API add-on build #438
Comments
I'll reply to nodejs/node-api-headers#3 (comment) over here, as it feels like a better place to continue discussion
At this stage, the experimental apis are not something I have thought about, so I dont have any insight on how I think they should be handled. That said, if someone does want to use experimental with cmake-js v7, I will need to do something to allow them to. But that might be best achieved by letting them use the old flow of downloading a specific version of the nodejs headers and building against that. That flow wont be removed anytime soon, as it is still necessary for non node-api projects. |
We discussed in the 10 Jun Node API meeting to include the experimental APIs under a new |
Since the content of |
Proposal to sue |
Node-API is an ABI stable API independent from Node.js version. The build of a native add-on needs only the headers file for Node-API so it's not necessary download all the headers file for a specific Node.js version. We created the package node-api-headers to help in the process of building a native add-on.
The first project that I know that adopted the
node-api-headers
is CMake.js (v7.0.0-2 beta cmake-js/cmake-js#278 reported in this issue nodejs/node-api-headers#3.Now I have some consideration about the experimental api that I would like to discuss in the next Node-API meeting (see: nodejs/node-api-headers#3 (comment))
The text was updated successfully, but these errors were encountered: