Skip to content

Latest commit

 

History

History

cross-platform-native-addons

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Dealing with cross-platform native addons

session by Simon Hofmann

Showed sakuli.io where they use nut.js which is basically the code that prompted Simon to work with native addons.

Simon shared his slides in s1hofmann/jscc19-sessions.

  • node-gyp or cmake-js are options for creating native addons
  • NAN -> this requires special V8 APIs, so needs to compile for each NodeJS version
  • N-API -> is not dependent on specific JS engine and does not need to be compiled for each version

justadudewhohacks/opencv4nodejs "best supported / maintained project for using opencv with nodejs"