Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

History

node_addon

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

demo project showing how to use ScriptX to build node.js addon

  1. use cmake-js to build node.js addon
  2. write CMakeLists.txt using cmake-js. see CMakeLists.txt for detail.
  3. inside the initializer, use special V8Engine constructor. see src/addon.cc for detail.
  4. build and run using
npm i -g cmake-js   # install cmake-js
npm run test        # build & run test