Hacker News new | ask | show | jobs
by snek 2567 days ago
Very cool idea! For all of you thinking of writing native modules for node, please remember to use napi, not nan. napi is fully abi stable, while nan is not!

https://nodejs.org/api/n-api.html

We also have a c++ wrapper: https://github.com/nodejs/node-addon-api