3 ms·
Node's and V8's APIs changed so frequently that someone created an abstraction layer called NaN ("Native Abstractions for Node.js") for people developing Node b
by cpeterso 11y ago
Node's and V8's APIs changed so frequently that someone created an abstraction layer called NaN ("Native Abstractions for Node.js") for people developing Node binary plugins.
https://github.com/nodejs/nan https://github.com/nodejs/nan
- steveklabnik 11y ago... and this integration uses that as well, so that nan stuff still works.
- morebetterer 11y agoKeep in mind that native modules coded against NAN1 do not work with NAN2. Not sure about forward compatibility of NAN.
- baudehlo 11y agoEven NAN2 is breaking some things. Or at least deprecating. It's hard to keep up, and the docs and examples suck. I tried converting a node v0.10 module to using it and flailed horribly. Edit: I don't mean to say the project sucks - docs sucking is just a general open source problem I can't really blame the authors for.