-
Notifications
You must be signed in to change notification settings - Fork 519
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
N-API Support for node.bcrypt.js #513
Comments
I tried to get it work. We heavily depend on |
You are right there is not a very detailed documentation on Alternatively, do you mind talking to us during our Weekly WG meeting which happens every Thursday at 1.30 Eastern / 10.30 Pacific US time, to discuss some ways we can help you to get started on this port. |
//cc @kfarnung - please update the documentation for |
Hi, |
//cc: @agathver, @mhdawson, @digitalinfinity |
Great work @NickNaso Please open a PR so that we can continue to iterate there |
Hi @agathver |
@NickNaso Yes, created a branch called "napi". |
@NickNaso thanks for doing this. If you don't mind some info on how long it took you (The commits are over 4-5 days) to do the port along with highlighting any things you found more tricky would be good as data for people looking at doing other ports. |
Hi everyone, |
Hi @NickNaso to clarify- you're using the binary that was compiled against NAPI as implemented in Node 8.6+? On downlevel, I believe the story is you need to use the node-addon-api package for compat with old node versions. Which version of Node do you get the above error in? |
Hi @digitalinfinity |
Hi @agathver, @mhdawson, @digitalinfinity @aruneshchandra "dependencies": {
"node-addon-api": "git+https://github.com/nodejs/node-addon-api.git"
} If I use the |
Hi @aruneshchandra @mhdawson @agathver @digitalinfinity, |
@NickNaso good to hear :) |
Hi everyone, |
@agathver just wondering if we can get a tagged version so that Nick can use the module in production ? |
@mhdawson |
Thank you @agathver I just started using it on https://www.lexgenda.com/ in production and until now it worked like previous version. I will keep you updated. |
@agathver thanks! |
@NickNaso node-pre-gyp has got napi support. Will you be willing to contribute a patch adding it to the napi branch? |
@agathver I will do it in this weekend and I will open a PR on napi branch. |
Hi @agathver, |
Hi everyone, |
The plan is to maintain both versions of the module for now, till Node 8 remains supported. |
Ok I will try to maintain the N-API version in sync with the classical version. |
Any plans for a |
That's on the roadmap for this November. |
|
@agathver thanks for the update ! |
The recently announced Node 8 has a new experimental feature called N-API which is aimed at reducing maintenance cost for node native addons. Checkout this blog for more details on its benefits.
node.bcrypt.js
is one of the top 30 native modules by dependency count, and in order to help the Node.js community make this important transition to N-API, we are hoping you will be able to work with us in order to portnode.bcrypt.js
to support N-API. Your support and feedback is important in making this effort a success.I am part of the N-API working group and and would like to talk to you about how you can can get started with N-API and what help we might be able to provide. I'm available to talk on the phone individually if you'd like. Alternatively, if you prefer, feel free to jump in our WG meeting which happens every Thursday at 1.30 Eastern / 10.30 Pacific US time, to discuss any issues.
Here’s a video of N-API in action
https://www.youtube.com/watch?v=nmXhJ88nZsk
The text was updated successfully, but these errors were encountered: