N-API - next generation Node API for native modules
summary
N-API claims ABI stability so native modules compile once run anywhere, targeting Node 8 as an experimental feature and aiming for backports to 6 and 4 eventually. Demo uses a N-API–enabled leveldown and nvs to switch between Node 8 and ChakraCore without recompiling, proving the idea works. There is a C ABI plus a C++ wrapper published on GitHub/npm, a conversion tool that handles ~80% of Nan ports, and a goal to port the top 30 native modules.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:17Michael Dawson
- 2:30What Is an Api
- 5:43Demo
- 7:35Package Json
- 12:02Status Code
- 14:24Opaque Pointer
- 18:20C + + Wrapper Module
- 20:44Conversion Tool
- 21:13Backwards Compatibility
- 23:42Test Coverage
- 24:14The N Api Working Group
- 25:09Transition Period








