Hey All,
One of our senior engineers wrote up a blog post on our experience of migrating RealmJS from NAN to N-API. We wanted to share it with the community in the hopes that it may also help you. Enjoy
https://www.mongodb.com/article/realm-javascript-nan-to-n-api
-Ian