-
Notifications
You must be signed in to change notification settings - Fork 465
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
Version Management #274
Comments
Makes sense to me. Not sure if creating a 'Util' object or something specific like 'Version' would be best. For these I'm leaning towards 'Util' |
shouldn't you use NODE_VERSION and NAPI_VERSION instead? |
Hi @devsnek you're right it's too simple use NODE_VERSION and NAPI_VERSION, to access to these constant a developer needs only to import |
I agree that we want to avoid the need to import node.h as that makes it easy to take a dependency without palnning to. |
Ok in the next days I will try to add this feature. |
I'm closing the issue because it's solved with #325. |
Hi everyone, I want add version management functions that are available on the N-API:
napi_get_node_version
https://nodejs.org/dist/latest/docs/api/n-api.html#n_api_napi_get_node_versionnapi_get_version
https://nodejs.org/dist/latest/docs/api/n-api.html#n_api_napi_get_versionIt's my intention add these two functions on Napi namespace as I did for
AdjustExternalMemory
see: #260Are you agree or have some suggestions to help me?
The text was updated successfully, but these errors were encountered: