NAN to Node-API Migration: A Short Story
Throughout the years I’ve created my fair share of native addons. The first ones were created by using the native C++ Node.js and v8 API’s. When NAN was created which made life much easier, especially in terms of maintenance, there was no question that I should move all my addons to use it. The years passed and Node-API was created and though it was on my radar and saw the benefits of using it, I never had the time to try it on my own modules.